File: tests-add-markers-trio.patch

package info (click to toggle)
httpcore 1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: python: 9,383; sh: 101; makefile: 41
file content (24 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sandro Tosi <morph@debian.org>
Date: Wed, 20 Dec 2023 20:53:13 -0400
Subject: tests-add-markers-trio

---
 pyproject.toml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 719fb18..ffc06a1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -91,7 +91,10 @@ ignore_missing_imports = true
 
 [tool.pytest.ini_options]
 addopts = ["-rxXs", "--strict-config", "--strict-markers"]
-markers = ["copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"]
+markers = [
+	"copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup",
+	"trio: Requires Trio",
+]
 filterwarnings = ["error"]
 
 [tool.coverage.run]