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 1028cb9 commit b072a46Copy full SHA for b072a46
setup.cfg
@@ -41,6 +41,7 @@ testing =
41
importlib_resources>=1.3; python_version < "3.9"
42
packaging
43
pep517
44
+ unittest2; python_version < "3"
45
docs =
46
sphinx
47
rst.linker
tests/test_api.py
@@ -1,6 +1,10 @@
1
import re
2
import textwrap
3
-import unittest
+
4
+try:
5
+ import unittest2 as unittest
6
+except ImportError:
7
+ import unittest
8
9
from . import fixtures
10
from importlib_metadata import (
0 commit comments