提交 4e277d54 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Remove debug line.

That was printed directly to stdout, regardless of the redirection set by nosetests. I have no idea how print in C to Python's sys.stdout.
上级 2cc9b598
...@@ -538,7 +538,7 @@ class Test_preallocated_output(unittest.TestCase): ...@@ -538,7 +538,7 @@ class Test_preallocated_output(unittest.TestCase):
z, = out z, = out
debug = 0 debug = 0
return """ return """
printf("executing c_code\\n"); //printf("executing c_code\\n");
if (%(a)s->nd != 2) {PyErr_SetString(PyExc_NotImplementedError, "rank(a) != 2"); %(fail)s;} if (%(a)s->nd != 2) {PyErr_SetString(PyExc_NotImplementedError, "rank(a) != 2"); %(fail)s;}
if (%(b)s->nd != 2) {PyErr_SetString(PyExc_NotImplementedError, "rank(b) != 2"); %(fail)s;} if (%(b)s->nd != 2) {PyErr_SetString(PyExc_NotImplementedError, "rank(b) != 2"); %(fail)s;}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论