Skip to content

Commit 9f943aa

Browse files
committed
Removed unnecessary pytest-cov dependency
1 parent 6d15d2c commit 9f943aa

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

doc/requirements.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ Optional modules for running test suite:
9797
* - pytest
9898
-
9999
- pytest: simple powerful testing with Python
100-
* - pytest-cov
101-
-
102-
- Pytest plugin for measuring coverage.
103100
* - pytest-xvfb
104101
-
105102
- A pytest plugin to run Xvfb (or Xephyr/Xvnc) for tests.

guidata/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
# Turn on unattended mode for executing tests without user interaction
66
execenv.unattended = True
7+
execenv.verbose = "quiet"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ doc = [
5454
"sphinx_qt_documentation",
5555
"python-docs-theme",
5656
]
57-
test = ["pytest", "pytest-cov", "pytest-xvfb"]
57+
test = ["pytest", "pytest-xvfb"]
5858

5959
[tool.setuptools.packages.find]
6060
include = ["guidata*"]

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pandas
99
pillow
1010
pylint
1111
pytest
12-
pytest-cov
1312
pytest-xvfb
1413
python-docs-theme
1514
requests

scripts/run_coverage.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ call %~dp0utils GetScriptPath SCRIPTPATH
1212
call %FUNC% GetModName MODNAME
1313
call %FUNC% SetPythonPath
1414
call %FUNC% UsePython
15-
1615
set COVERAGE_PROCESS_START=%SCRIPTPATH%\..\.coveragerc
17-
pytest -v --cov --cov-report=html %MODNAME%
16+
coverage run -m pytest
17+
coverage combine
18+
coverage html
1819
start .\htmlcov\index.html
1920
call %FUNC% EndOfScript

0 commit comments

Comments
 (0)