Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106c414 commit 110ee34Copy full SHA for 110ee34
1 file changed
Lib/test/test_reprlib.py
@@ -242,7 +242,7 @@ def _check_path_limitations(self, module_name):
242
# a path separator + `module_name` + ".py"
243
source_path_len += len(module_name) + 1 + len(".py")
244
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:
+ if os.name == 'nt' and cached_path_len >= 258:
246
# Under Windows, the max path len is 260 including C's terminating
247
# NUL character.
248
# (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath)
0 commit comments