We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8446b71 commit 42cbf00Copy full SHA for 42cbf00
1 file changed
tests/test__getdents.py
@@ -1,5 +1,5 @@
1
import os
2
-
+import sys
3
from unittest.mock import ANY
4
5
from pytest import fixture, raises
@@ -47,7 +47,7 @@ def test_small_buffer(fixt_dir):
47
48
def test_malloc_fail(fixt_dir):
49
with raises(MemoryError):
50
- getdents_raw(fixt_dir, 1 << 62)
+ getdents_raw(fixt_dir, sys.maxsize)
51
52
53
def test_getdents_raw(fixt_dir):
0 commit comments