Commit 44d8cb9e authored by Thomas Heller's avatar Thomas Heller

Fix a potential NameError.

parent 796fd910
......@@ -297,8 +297,8 @@ class TestJointOps(unittest.TestCase):
w = ReprWrapper()
s = self.thetype([w])
w.value = s
fo = open(support.TESTFN, "w")
try:
fo = open(support.TESTFN, "w")
fo.write(str(s))
fo.close()
fo = open(support.TESTFN, "r")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment