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.
Install coverage < 5.0 to work around a problem with sqlite.
python-ldap should move to pytest eventually.
Fixes: #326
Signed-off-by: Christian Heimes <cheimes@redhat.com>
# coverag 5.0.2 is failing with "sqlite3.OperationalError: disk I/O error"
13
+
# https://github.com/nedbat/coveragepy/issues/915
14
+
deps = coverage < 5.0
13
15
passenv = WITH_GCOV
14
16
# - Enable BytesWarning
15
17
# - Turn all warnings into exceptions.
16
18
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
17
19
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
18
20
# DeprecationWarning.
21
+
# - 'ignore:lib2to3 package' for Python 3.9
19
22
commands = {envpython} -bb -Werror \
20
23
"-Wignore:the imp module is deprecated:DeprecationWarning" \
21
24
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
22
25
"-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
26
+
"-Wignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning" \
0 commit comments