Use imp.get_suffixes to deal with __init__ files that are not .py files but .so etc. fixes #472

This commit is contained in:
Dave Halter
2015-04-08 02:41:59 +02:00
parent 9149c5adc2
commit 474d390220
3 changed files with 26 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
addopts = --doctest-modules
# Ignore broken files in blackbox test directories
norecursedirs = .* docs completion refactor absolute_import namespace_package scripts extensions speed static_analysis not_in_sys_path buildout_project egg-link
norecursedirs = .* docs completion refactor absolute_import namespace_package scripts extensions speed static_analysis not_in_sys_path buildout_project egg-link init_extension_module
# Activate `clean_jedi_cache` fixture for all tests. This should be
# fine as long as we are using `clean_jedi_cache` as a session scoped