◐ Shell
clean mode source ↗

Message 64243 - Python tracker

But I'm getting a failure on that test, and the other one, too:

$ ./python Lib/test/test_pkgutil.py
test_alreadyloaded (__main__.PkgutilTests) ... FAIL
test_getdata_filesys (__main__.PkgutilTests) ... FAIL
test_getdata_pep302 (__main__.PkgutilTests) ... ok

======================================================================
FAIL: test_alreadyloaded (__main__.PkgutilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "Lib/test/test_pkgutil.py", line 45, in test_alreadyloaded
     self.assertEqual(foo.loads, 1)
AssertionError: 2 != 1

======================================================================
FAIL: test_getdata_filesys (__main__.PkgutilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "Lib/test/test_pkgutil.py", line 30, in test_getdata_filesys
     self.assert_('PkgutilTests' in this_file)
AssertionError

----------------------------------------------------------------------
Ran 3 tests in 0.017s

FAILED (failures=2)

I'm rebuilding my entire 2.6 checkout to double-check there's not 
something else going on, but I know my Lib/ tree is up-to-date.