Kaydet (Commit) 0d755b4e authored tarafından Thomas Heller's avatar Thomas Heller

Fix a potential NameError.

üst d1abd25e
...@@ -297,8 +297,8 @@ class TestJointOps(unittest.TestCase): ...@@ -297,8 +297,8 @@ class TestJointOps(unittest.TestCase):
w = ReprWrapper() w = ReprWrapper()
s = self.thetype([w]) s = self.thetype([w])
w.value = s w.value = s
fo = open(support.TESTFN, "w")
try: try:
fo = open(support.TESTFN, "w")
fo.write(str(s)) fo.write(str(s))
fo.close() fo.close()
fo = open(support.TESTFN, "r") 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