Skip test_source_mtime_long_long on 32bit and lower platforms (#5045)

Skip test_source_mtime_long_long on 32bit and lower platforms
This commit is contained in:
Bruno Oliveira 2019-05-07 09:42:18 -03:00 committed by GitHub
commit ef4dec0bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1232,6 +1232,9 @@ class TestIssue2121:
result.stdout.fnmatch_lines(["*E*assert (1 + 1) == 3"])
@pytest.mark.skipif(
sys.maxsize <= (2 ** 31 - 1), reason="Causes OverflowError on 32bit systems"
)
@pytest.mark.parametrize("offset", [-1, +1])
def test_source_mtime_long_long(testdir, offset):
"""Support modification dates after 2038 in rewritten files (#4903).