Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b4f2ea16
Commit
b4f2ea16
authored
Jun 23, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lower test-skipping threshold in test_reprlib
parent
28c7a073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/test_reprlib.py
Lib/test/test_reprlib.py
+1
-1
No files found.
Lib/test/test_reprlib.py
View file @
b4f2ea16
...
...
@@ -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
>=
25
9
:
if
os
.
name
==
'nt'
and
cached_path_len
>=
25
8
:
# 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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment