We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 688f063 commit 39f9bc3Copy full SHA for 39f9bc3
Lib/test/test_capi/test_opt.py
@@ -2680,7 +2680,7 @@ def gen():
2680
simple_for()
2681
g = gen()
2682
next(g)
2683
- print("finished")
+ print("finished", end='')
2684
""")
2685
2686
tmp = tempfile.NamedTemporaryFile(delete=False, suffix='.py')
@@ -2693,7 +2693,7 @@ def gen():
2693
finally:
2694
os.remove(tmp.name)
2695
p.stdout.close()
2696
- self.assertEqual(b"finished\n", out)
+ self.assertEqual(b"finished", out)
2697
2698
def global_identity(x):
2699
return x
0 commit comments