mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Two tests fixed with one fix.
This commit is contained in:
parent
c420b2f3ee
commit
374812c5af
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue