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
5b77d6df
Commit
5b77d6df
authored
Jan 08, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).
parent
7a2ee0b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
Lib/test/regrtest.py
Lib/test/regrtest.py
+0
-9
No files found.
Lib/test/regrtest.py
View file @
5b77d6df
...
@@ -160,15 +160,6 @@ import traceback
...
@@ -160,15 +160,6 @@ import traceback
import
warnings
import
warnings
import
unittest
import
unittest
# I see no other way to suppress these warnings;
# putting them in test_grammar.py has no effect:
warnings
.
filterwarnings
(
"ignore"
,
"hex/oct constants"
,
FutureWarning
,
".*test.test_grammar$"
)
if
sys
.
maxint
>
0x7fffffff
:
# Also suppress them in <string>, because for 64-bit platforms,
# that's where test_grammar.py hides them.
warnings
.
filterwarnings
(
"ignore"
,
"hex/oct constants"
,
FutureWarning
,
"<string>"
)
# Ignore ImportWarnings that only occur in the source tree,
# Ignore ImportWarnings that only occur in the source tree,
# (because of modules with the same name as source-directories in Modules/)
# (because of modules with the same name as source-directories in Modules/)
...
...
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