We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444aae5 commit 99e9515Copy full SHA for 99e9515
docs/source/examples/util.py
@@ -0,0 +1,4 @@
1
+import os
2
+
3
+def is_running_under_pytest():
4
+ return "PYTEST_CURRENT_TEST" in os.environ
0 commit comments