diff options
author | Thomas Heller <theller@ctypes.org> | 2008-07-15 17:14:09 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-07-15 17:14:09 (GMT) |
commit | 0d755b4e2b6af874781e01dd1ceb70e3a9b84045 (patch) | |
tree | dc902722e1f53ba23b996dfebaefc1a23a3b2d4f /Lib/test/test_set.py | |
parent | d1abd25ed8e14a64da21d17ece73c49390b9b083 (diff) | |
download | cpython-0d755b4e2b6af874781e01dd1ceb70e3a9b84045.zip cpython-0d755b4e2b6af874781e01dd1ceb70e3a9b84045.tar.gz cpython-0d755b4e2b6af874781e01dd1ceb70e3a9b84045.tar.bz2 |
Fix a potential NameError.
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r-- | Lib/test/test_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index f263a7d..0e92551 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -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") |