diff --git a/tests/__init__.py b/tests/__init__.py index 2f0b52793d..40947ac98e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -12,7 +12,7 @@ import win32file # pylint: disable=import-error - win32file._setmaxstdio(2048) + win32file._setmaxstdio(4096) # Workaround for two bugs: # @@ -41,7 +41,7 @@ def noop(): else: import resource - resource.setrlimit(resource.RLIMIT_NOFILE, (2048, 2048)) + resource.setrlimit(resource.RLIMIT_NOFILE, (4096, 4096)) nproc_soft, nproc_hard = resource.getrlimit(resource.RLIMIT_NPROC) resource.setrlimit(resource.RLIMIT_NPROC, (nproc_hard, nproc_hard))