changeset 77650:ec656d79b8ac

Lower test-skipping threshold in test_reprlib
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 23 Jun 2012 22:55:58 +0200
parents 3214c9ebcf5e
children bb6df3781edb
files Lib/test/test_reprlib.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Lib/test/test_reprlib.py	Sat Jun 23 21:45:14 2012 +0100
+++ b/Lib/test/test_reprlib.py	Sat Jun 23 22:55:58 2012 +0200
@@ -242,7 +242,7 @@
         # a path separator + `module_name` + ".py"
         source_path_len += len(module_name) + 1 + len(".py")
         cached_path_len = source_path_len + len(imp.cache_from_source("x.py")) - len("x.py")
-        if os.name == 'nt' and cached_path_len >= 259:
+        if os.name == 'nt' and cached_path_len >= 258:
             # Under Windows, the max path len is 260 including C's terminating
             # NUL character.
             # (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath)