We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f4b0a commit 414e4c0Copy full SHA for 414e4c0
importlib_resources/tests/compat/py39.py
@@ -3,18 +3,18 @@
3
"""
4
5
import os
6
+import types
7
+
8
+from jaraco.collections import Projection
9
10
11
try:
12
from test.support import import_helper # type: ignore
13
except ImportError:
14
+ import test.support
15
- class import_helper: # type: ignore
- from test.support import (
- modules_setup,
- modules_cleanup,
16
- DirsOnSysPath,
17
- )
+ names = 'modules_setup', 'modules_cleanup', 'DirsOnSysPath'
+ import_helper = types.SimpleNamespace(**Projection(names, vars(test.support)))
18
19
20
setup.cfg
@@ -34,6 +34,7 @@ testing =
34
35
# local
36
zipp >= 3.17
37
+ jaraco.collections
38
39
docs =
40
# upstream
0 commit comments