Author: Armin Rigo <[email protected]>
Branch: errno-again
Changeset: r75377:2daa03a9b986
Date: 2015-01-16 11:56 +0100
http://bitbucket.org/pypy/pypy/changeset/2daa03a9b986/
Log: fix test
diff --git a/rpython/translator/test/test_simplify.py
b/rpython/translator/test/test_simplify.py
--- a/rpython/translator/test/test_simplify.py
+++ b/rpython/translator/test/test_simplify.py
@@ -183,7 +183,9 @@
print op
subgraph = get_graph(op.args[0], t)
if subgraph is None:
- found.append(op)
+ # ignore 'get_errno' and 'set_errno'
+ if 'et_errno' not in repr(op.args[0]):
+ found.append(op)
else:
walkgraph(subgraph)
walkgraph(graph)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit