summaryrefslogtreecommitdiffstats
path: root/third_party/python/pytest/bench/skip.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/pytest/bench/skip.py')
-rw-r--r--third_party/python/pytest/bench/skip.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/python/pytest/bench/skip.py b/third_party/python/pytest/bench/skip.py
new file mode 100644
index 0000000000..b105e79f82
--- /dev/null
+++ b/third_party/python/pytest/bench/skip.py
@@ -0,0 +1,11 @@
+from six.moves import range
+import pytest
+
+
+SKIP = True
+
+
+@pytest.mark.parametrize("x", range(5000))
+def test_foo(x):
+ if SKIP:
+ pytest.skip("heh")