File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -272,10 +272,10 @@ def test_cyclical_print(self):
272
272
s = self .thetype ([w ])
273
273
w .value = s
274
274
try :
275
- fo = open (test_support .TESTFN , "wb " )
275
+ fo = open (test_support .TESTFN , "w " )
276
276
fo .write (str (s ))
277
277
fo .close ()
278
- fo = open (test_support .TESTFN , "rb " )
278
+ fo = open (test_support .TESTFN , "r " )
279
279
self .assertEqual (fo .read (), repr (s ))
280
280
finally :
281
281
fo .close ()
@@ -620,10 +620,10 @@ def test_repr(self):
620
620
621
621
def test_print (self ):
622
622
try :
623
- fo = open (test_support .TESTFN , "wb " )
623
+ fo = open (test_support .TESTFN , "w " )
624
624
fo .write (str (self .set ))
625
625
fo .close ()
626
- fo = open (test_support .TESTFN , "rb " )
626
+ fo = open (test_support .TESTFN , "r " )
627
627
self .assertEqual (fo .read (), repr (self .set ))
628
628
finally :
629
629
fo .close ()
You can’t perform that action at this time.
0 commit comments