Skip to content

Commit 167ac4b

Browse files
committed
Don't skip tests while debugging.
This will maybe get annoying if debugging many at once, but works better for specifically mentioning one test.
1 parent 6693f93 commit 167ac4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/tests/_suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def fn(this):
191191

192192
fn.__name__ = self.method_name
193193
reason = skip(self)
194-
if reason is None:
194+
if reason is None or os.environ.get("JSON_SCHEMA_DEBUG", "0") != "0":
195195
return fn
196196
elif os.environ.get("JSON_SCHEMA_EXPECTED_FAILURES", "0") != "0":
197197
return unittest.expectedFailure(fn)

0 commit comments

Comments
 (0)