summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorscoder <stefan_ml@behnel.de>2021-07-16 18:06:02 +0200
committerGitHub <noreply@github.com>2021-07-16 18:06:02 +0200
commit0240d0587a8f83dcd6a2e4f35026b056660e51c8 (patch)
treed159c05b98a0b589b33a5bf20787d5c5e549b80d /test.py
parent6660ff2de00c884c9ce82c4833e39553835ce780 (diff)
downloadpython-lxml-0240d0587a8f83dcd6a2e4f35026b056660e51c8.tar.gz
Switch to GitHub actions (GH-319)
Diffstat (limited to 'test.py')
-rw-r--r--test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.py b/test.py
index dd05cf8d..45d52a9e 100644
--- a/test.py
+++ b/test.py
@@ -545,8 +545,8 @@ def main(argv):
# Set up tracing before we start importing things
cov = None
if cfg.run_tests and cfg.coverage:
- from coverage import coverage
- cov = coverage(omit=['test.py'])
+ from coverage import Coverage
+ cov = Coverage(omit=['test.py'])
# Finding and importing
test_files = get_test_files(cfg)