diff --git a/tests/__init__.py b/tests/__init__.py index 7f498f7..ad8c6fd 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -39,11 +39,10 @@ def testsuite(pattern=""): The TestSuite object containing the matching tests. """ import re + from importlib.resources import as_file, files from itertools import chain from os.path import dirname - from pkg_resources import resource_filename - loader = unittest.defaultTestLoader thisdir = resource_filename(__name__, "") depth = __name__.count(".") + 1