Issue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al)

This commit is contained in:
Nick Coghlan 2012-07-15 21:19:18 +10:00
parent 3f94cbf9eb
commit 8ecf50474c
5 changed files with 106 additions and 19 deletions

View file

@ -9,7 +9,11 @@ import tempfile
import shutil
import zipfile
# Note: pkgutil.walk_packages is currently tested in test_runpy. This is
# a hack to get a major issue resolved for 3.3b2. Longer term, it should
# be moved back here, perhaps by factoring out the helper code for
# creating interesting package layouts to a separate module.
# Issue #15348 declares this is indeed a dodgy hack ;)
class PkgutilTests(unittest.TestCase):