Commit ad0d9ada authored by Stefan Behnel's avatar Stefan Behnel

fix test that failed due to improved type inference

parent 34642eea
...@@ -501,7 +501,7 @@ def test_attempting_to_send_to_non_generator(): ...@@ -501,7 +501,7 @@ def test_attempting_to_send_to_non_generator():
next(gi) next(gi)
for x in range(3): for x in range(3):
y = gi.send(42) y = gi.send(42)
trace.append("Should not have yielded:", y) trace.append("Should not have yielded: %s" % y)
except AttributeError: except AttributeError:
pass pass
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment