summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-06 00:32:27 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-16 09:09:26 -0800
commit6f7f01a2448283427301bcfa1927f01c361943e0 (patch)
tree1ddf2cf846ca3027d77764749bbf0ca4e108354d /doc/languages-frameworks/python.section.md
parent2982fa466ee3352975a6f8c0d76ad20c72e388a5 (diff)
downloadnixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar.gz
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar.bz2
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar.lz
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar.xz
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.tar.zst
nixpkgs-6f7f01a2448283427301bcfa1927f01c361943e0.zip
pytestCheckHook: Add disabledTestFiles option
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 2dea2cb1bcc..71193ed0cc0 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -610,6 +610,10 @@ Using the example above, the analagous pytestCheckHook usage would be:
     "download"
     "update"
   ];
+
+  disabledTestFiles = [
+    "tests/test_failing.py"
+  ];
 ```
 
 This is expecially useful when tests need to be conditionallydisabled,