File: 0001-pytest-nocoverage.patch

package info (click to toggle)
python-periodictable 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,152 kB
  • sloc: python: 14,808; makefile: 103; sh: 92; javascript: 7
file content (22 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Stuart Prescott <stuart@debian.org>
Date: Thu, 26 Mar 2026 19:04:47 +1100
Subject: Don't include coverage in test suite

Forwarded: not-needed
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 1b651ef..a596eb7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,7 +56,7 @@
     # mypy doesn't work on the wheel tests, so these options are repeated in
     # .github/workflows/test.yml. We could use pytest-enabler with "pytest -p no:mypy"
     # but that introduces yet another dependency.
-    addopts = ["--doctest-modules", "--doctest-glob=*.rst", "--cov=periodictable", "--mypy"]
+    addopts = ["--doctest-modules", "--doctest-glob=*.rst"]
     doctest_optionflags = "ELLIPSIS"
     pythonpath = ["doc/sphinx"]
     testpaths = ["periodictable", "test", "doc/sphinx/guide"]