Skip to content

Commit aa9e7c5

Browse files
committed
Removed unnecessary pytest-cov dependency
1 parent 69f7b90 commit aa9e7c5

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

doc/requirements.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The :mod:`plotpy` package requires the following Python modules:
3030
- Read and write TIFF files
3131
* - PyQt5
3232
- >=5.11
33-
- Python bindings for the Qt cross platform application toolkit
33+
-
3434

3535
Optional modules for development:
3636

@@ -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.

plotpy/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
@@ -56,7 +56,7 @@ doc = [
5656
"sphinx_qt_documentation",
5757
"python-docs-theme",
5858
]
59-
test = ["pytest", "pytest-cov", "pytest-xvfb"]
59+
test = ["pytest", "pytest-xvfb"]
6060

6161
[tool.setuptools.packages.find]
6262
include = ["plotpy*"]

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ guidata>=3.1
1111
isort
1212
pylint
1313
pytest
14-
pytest-cov
1514
pytest-xvfb
1615
python-docs-theme
1716
sphinx

scripts/run_coverage.bat

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

0 commit comments

Comments
 (0)