diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 20:55:58 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 20:55:58 (GMT) |
commit | 110ee34e4179727d2c8bf56cb655a89c561c30e0 (patch) | |
tree | dcca277290b3f16acab93b4181a770faba406044 /Lib/test/test_reprlib.py | |
parent | 106c4145ff79f1cf6c2377ee305c8201483102a0 (diff) | |
download | cpython-110ee34e4179727d2c8bf56cb655a89c561c30e0.zip cpython-110ee34e4179727d2c8bf56cb655a89c561c30e0.tar.gz cpython-110ee34e4179727d2c8bf56cb655a89c561c30e0.tar.bz2 |
Lower test-skipping threshold in test_reprlib
Diffstat (limited to 'Lib/test/test_reprlib.py')
-rw-r--r-- | Lib/test/test_reprlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py index aca1d5b..589ecdd 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) |