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
9bab5249
Commit
9bab5249
authored
Aug 03, 2010
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deprecation warnings in test_commands.py
parent
8a078d5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/test/test_commands.py
Lib/test/test_commands.py
+4
-4
No files found.
Lib/test/test_commands.py
View file @
9bab5249
...
...
@@ -5,8 +5,8 @@
import
unittest
import
os
,
tempfile
,
re
from
test.test_support
import
run_unittest
,
reap_children
,
import_module
,
\
check_warnings
from
test.test_support
import
(
run_unittest
,
reap_children
,
import_module
,
check_warnings
)
from
test.test_support
import
TestSkipped
,
run_unittest
,
reap_children
,
import_module
# Silence Py3k warning
...
...
@@ -57,7 +57,7 @@ class CommandTests(unittest.TestCase):
[^/]* # Skip user, group, size, and date.
/\
. #
and end with the name of the file.
'''
with
check_warnings
(
quiet
=
True
):
self
.
assertTrue
(
re
.
match
(
pat
,
getstatus
(
"/."
),
re
.
VERBOSE
))
...
...
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