Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d755b4

Browse files
author
Thomas Heller
committed
Fix a potential NameError.
1 parent d1abd25 commit 0d755b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def test_cyclical_print(self):
297297
w = ReprWrapper()
298298
s = self.thetype([w])
299299
w.value = s
300+
fo = open(support.TESTFN, "w")
300301
try:
301-
fo = open(support.TESTFN, "w")
302302
fo.write(str(s))
303303
fo.close()
304304
fo = open(support.TESTFN, "r")

0 commit comments

Comments
 (0)