Two tests fixed with one fix.
This commit is contained in:
parent
c420b2f3ee
commit
374812c5af
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue