summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/list_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py
index 5162f2e..468a1bc 100644
--- a/Lib/test/list_tests.py
+++ b/Lib/test/list_tests.py
@@ -53,10 +53,10 @@ class CommonTest(seq_tests.CommonTest):
d.append(d)
d.append(400)
try:
- fo = open(test_support.TESTFN, "w", encoding="ascii")
+ fo = open(test_support.TESTFN, "w")
fo.write(str(d))
fo.close()
- fo = open(test_support.TESTFN, "r", encoding="ascii")
+ fo = open(test_support.TESTFN, "r")
self.assertEqual(fo.read(), repr(d))
finally:
fo.close()