Skip to content

Commit 110ee34

Browse files
committed
Lower test-skipping threshold in test_reprlib
1 parent 106c414 commit 110ee34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_reprlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _check_path_limitations(self, module_name):
242242
# a path separator + `module_name` + ".py"
243243
source_path_len += len(module_name) + 1 + len(".py")
244244
cached_path_len = source_path_len + len(imp.cache_from_source("x.py")) - len("x.py")
245-
if os.name == 'nt' and cached_path_len >= 259:
245+
if os.name == 'nt' and cached_path_len >= 258:
246246
# Under Windows, the max path len is 260 including C's terminating
247247
# NUL character.
248248
# (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath)

0 commit comments

Comments
 (0)