[issue2439] Patch to add a get_data function to pkgutil
Paul Moore
report at bugs.python.org
Fri Mar 21 20:49:39 CET 2008
Paul Moore <p.f.moore at gmail.com> added the comment:
By the way, for comparison, I'm running the test (under Windows) using
rt -q -v test_pkgutil from the PCBuild directory. I can't see how
test_getdata_filesys can fail, as long as you're running it from the
correct place - it reads the test_pkgutil.py file relative to the test
package, so it won't run outside of there (maybe I should change this,
but that's a separate issue for now).
Here's my output:
>rt -q -v test_pkgutil
.\\python -E -tt ../lib/test/regrtest.py -v test_pkgutil
test_pkgutil
test_alreadyloaded (test.test_pkgutil.PkgutilTests) ... ok
test_getdata_filesys (test.test_pkgutil.PkgutilTests) ... ok
test_getdata_pep302 (test.test_pkgutil.PkgutilTests) ... ok
----------------------------------------------------------------------
Ran 3 tests in 0.000s
OK
1 test OK.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2439>
__________________________________
More information about the Python-bugs-list
mailing list