Skip to content

Commit

Permalink
Fix test loading
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Aug 22, 2023
1 parent 37e79cc commit 6f5ca44
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dev/_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def find_spec(self, fullname, path, target=None):
submodule_search_locations=submodule_locations
)


CUSTOM_FINDER = ModCryptoMetaFinder()
CUSTOM_FINDER.setup()

Expand Down
2 changes: 1 addition & 1 deletion dev/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
1 change: 0 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def find_spec(self, fullname, path, target=None):
submodule_search_locations=submodule_locations
)


CUSTOM_FINDER = ModCryptoMetaFinder()
CUSTOM_FINDER.setup()

Expand Down

0 comments on commit 6f5ca44

Please sign in to comment.