[Python-checkins] r69843 - python/branches/io-c/Lib/test/test_io.py

benjamin.peterson python-checkins at python.org
Sat Feb 21 21:13:05 CET 2009


Author: benjamin.peterson
Date: Sat Feb 21 21:13:04 2009
New Revision: 69843

Log:
fix __all__ test

Modified:
   python/branches/io-c/Lib/test/test_io.py

Modified: python/branches/io-c/Lib/test/test_io.py
==============================================================================
--- python/branches/io-c/Lib/test/test_io.py	(original)
+++ python/branches/io-c/Lib/test/test_io.py	Sat Feb 21 21:13:04 2009
@@ -1909,7 +1909,7 @@
 
     def testImport__all__(self):
         for name in self.io.__all__:
-            obj = getattr(io, name, None)
+            obj = getattr(self.io, name, None)
             self.assert_(obj is not None, name)
             if name == "open":
                 continue


More information about the Python-checkins mailing list