commit | 0d755b4e2b6af874781e01dd1ceb70e3a9b84045 | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Tue Jul 15 17:14:09 2008 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Tue Jul 15 17:14:09 2008 +0000 |
tree | dc902722e1f53ba23b996dfebaefc1a23a3b2d4f | |
parent | d1abd25ed8e14a64da21d17ece73c49390b9b083 [diff] |
Fix a potential NameError.
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 @@ 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")