Skip to content

Commit

Permalink
Increase timeout to 45s
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 30, 2023
1 parent fc5b977 commit d30d1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_imagefontpil.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_decompression_bomb():
font.getmask("A" * 1_000_000)


@pytest.mark.timeout(2)
@pytest.mark.timeout(45)
def test_oom():
glyph = struct.pack(">hhhhhhhhhh", 1, 0, 0, 0, 32767, 32767, 0, 0, 32767, 32767)
fp = BytesIO(b"PILfont\n\nDATA\n" + glyph * 256)
Expand Down

0 comments on commit d30d1e6

Please sign in to comment.