summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-23 22:55:58 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-23 22:55:58 +0200
commit3ec4a1a41b4195bc8f0efa249643143f2f463738 (patch)
treeeecbb860379b01ff22054a99a4f1b55970dee57f
parent838e1ccdec08309e99f7349870d9835794215c38 (diff)
downloadcpython-3ec4a1a41b4195bc8f0efa249643143f2f463738.tar.gz
Lower test-skipping threshold in test_reprlib
-rw-r--r--Lib/test/test_reprlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py
index aca1d5b4a1..589ecdd4da 100644
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_reprlib.py
@@ -242,7 +242,7 @@ class LongReprTest(unittest.TestCase):
# 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)