Skip to content

Commit 1b7e5e6

Browse files
committed
Change the default of skipping tests to false so it doesn't skip a test after the flaky time is up.
1 parent 122caa6 commit 1b7e5e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,9 +1341,9 @@ def _should_skip(condition=None, until: int = None):
13411341
until = dt.datetime.fromtimestamp(until)
13421342
if until and dt.datetime.now(dt.timezone.utc).replace(tzinfo=None) < until.replace(tzinfo=None):
13431343
return True
1344-
if condition is not None and not condition:
1345-
return False
1346-
return True
1344+
if condition is not None and condition:
1345+
return True
1346+
return False
13471347

13481348

13491349
def flaky(until: int = None, condition: bool = None, reason: str = None):

0 commit comments

Comments
 (0)