Skip to content

Commit d14eb9c

Browse files
authored
Fix skipping of slow tests (#13119)
1 parent 2ef371a commit d14eb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def slow_test(func):
3333

3434
@functools.wraps(func)
3535
def _wrapper(*args, **kwargs):
36-
if "run_slow" in os.environ.get("QISKIT_TESTS", ""):
36+
if "run_slow" not in os.environ.get("QISKIT_TESTS", ""):
3737
raise unittest.SkipTest("Skipping slow tests")
3838
return func(*args, **kwargs)
3939

0 commit comments

Comments
 (0)