Kaydet (Commit) 374812c5 authored tarafından Guido van Rossum's avatar Guido van Rossum

Two tests fixed with one fix.

üst c420b2f3
......@@ -54,7 +54,7 @@ class CommonTest(seq_tests.CommonTest):
d.append(400)
try:
fo = open(test_support.TESTFN, "wb")
print(d, end=' ', file=fo)
fo.write(str(d))
fo.close()
fo = open(test_support.TESTFN, "rb")
self.assertEqual(fo.read(), repr(d))
......
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