__loader__ is another of those sekkrit management module attributes.

This commit is contained in:
Ryan Williams
2010-10-17 22:42:18 -07:00
parent a168dd90e2
commit 425f698ed1

View File

@@ -126,7 +126,7 @@ class MySQLdbTester(LimitedTestCase):
import MySQLdb as orig
for key in dir(orig):
if key not in ('__author__', '__path__', '__revision__',
'__version__'):
'__version__', '__loader__'):
self.assert_(hasattr(MySQLdb, key), "%s %s" % (key, getattr(orig, key)))
def test_connecting(self):