diff --git a/dev/_import.py b/dev/_import.py index 1c1019f..c342c78 100644 --- a/dev/_import.py +++ b/dev/_import.py @@ -57,7 +57,6 @@ def find_spec(self, fullname, path, target=None): submodule_search_locations=submodule_locations ) - CUSTOM_FINDER = ModCryptoMetaFinder() CUSTOM_FINDER.setup() diff --git a/dev/coverage.py b/dev/coverage.py index d2833cc..98f140b 100644 --- a/dev/coverage.py +++ b/dev/coverage.py @@ -103,7 +103,7 @@ def _load_package_tests(name): if not os.path.exists(package_dir): return [] - _import_from('%s.tests' % name, package_dir, 'tests').test_classes() + return _import_from('%s_tests' % name, package_dir, 'tests').test_classes() def _env_info(): diff --git a/tests/__init__.py b/tests/__init__.py index cd1dcc6..9328428 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -50,7 +50,6 @@ def find_spec(self, fullname, path, target=None): submodule_search_locations=submodule_locations ) - CUSTOM_FINDER = ModCryptoMetaFinder() CUSTOM_FINDER.setup()