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
c9e92167
Commit
c9e92167
authored
Nov 01, 2009
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test skipping in multibyte codec tests
parent
5800b271
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_bytes.py
Lib/test/test_bytes.py
+1
-1
Lib/test/test_multibytecodec_support.py
Lib/test/test_multibytecodec_support.py
+1
-1
No files found.
Lib/test/test_bytes.py
View file @
c9e92167
...
...
@@ -935,7 +935,7 @@ class AssortedBytesTest(unittest.TestCase):
self.assertRaises(BytesWarning, operator.eq, bytearray(b''), '')
self.assertRaises(BytesWarning, operator.ne, bytearray(b''), '')
else:
#
raise test.support.TestSkipped
("BytesWarning is needed for this test: use -bb option")
#
self.skipTest
("BytesWarning is needed for this test: use -bb option")
pass
# Optimizations:
...
...
Lib/test/test_multibytecodec_support.py
View file @
c9e92167
...
...
@@ -279,7 +279,7 @@ class TestBase_Mapping(unittest.TestCase):
try
:
self
.
open_mapping_file
()
# test it to report the error early
except
IOError
:
raise
support
.
TestSkipped
(
"Could not retrieve "
+
self
.
mapfileurl
)
self
.
skipTest
(
"Could not retrieve "
+
self
.
mapfileurl
)
def
open_mapping_file
(
self
):
return
support
.
open_urlresource
(
self
.
mapfileurl
)
...
...
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