Discussion:
[Python-3000-checkins] r64969 - python/branches/py3k/Lib/test/test_set.py
thomas.heller
2008-07-15 17:14:09 UTC
Permalink
Author: thomas.heller
Date: Tue Jul 15 19:14:09 2008
New Revision: 64969

Log:
Fix a potential NameError.


Modified:
python/branches/py3k/Lib/test/test_set.py

Modified: python/branches/py3k/Lib/test/test_set.py
==============================================================================
--- python/branches/py3k/Lib/test/test_set.py (original)
+++ python/branches/py3k/Lib/test/test_set.py Tue Jul 15 19:14:09 2008
@@ -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")

Loading...