You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup.py test is deprecated and causes issues with testing our code.
There are cases where the wrong shared library is picked up.
The ``unittest discover`` approach avoids building the extension twice.
python-ldap should move to pytest eventually.
#335Fixes: #326
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Copy file name to clipboardExpand all lines: tox.ini
+22-16Lines changed: 22 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -16,43 +16,49 @@ passenv = WITH_GCOV
16
16
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
17
17
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
18
18
# DeprecationWarning.
19
+
# - 'ignore:lib2to3 package' for Python 3.9
19
20
commands = {envpython} -bb -Werror \
20
21
"-Wignore:the imp module is deprecated:DeprecationWarning" \
21
22
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
22
23
"-Wignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working:DeprecationWarning" \
23
-
-m coverage run --parallel setup.py \
24
-
clean --all \
25
-
test
24
+
"-Wignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning" \
0 commit comments