Skip to content

Commit

Permalink
better skip
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixSchwarz committed Jul 18, 2024
1 parent 0780a29 commit 6b5a503
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/queue_runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def path_maildir(tmpdir):
return _path_maildir


@pytest.mark.skipIf(sys.implementation.name == 'pypy', reason='"time-machine" does not work on PyPy')
IS_PYPY3 = (sys.version_info >= (3, 0)) and (sys.implementation.name == 'pypy')

@pytest.mark.skipIf(IS_PYPY3, reason='"time-machine" does not work on PyPy')
# https://github.com/adamchainz/time-machine/issues/305
def test_can_move_stale_messages_back_to_new(path_maildir):
mailer = DebugMailer()
Expand Down

0 comments on commit 6b5a503

Please sign in to comment.