import os # Increasing fd ulimit for tests if os.name == 'nt': import win32file win32file._setmaxstdio(2048)