mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
commit
101d9e7250
35 changed files with 135 additions and 142 deletions
|
|
@ -341,8 +341,7 @@ class OtherFileTests(unittest.TestCase):
|
|||
try:
|
||||
fn = TESTFN.encode("ascii")
|
||||
except UnicodeEncodeError:
|
||||
# Skip test
|
||||
return
|
||||
self.skipTest('could not encode %r to ascii' % TESTFN)
|
||||
f = _FileIO(fn, "w")
|
||||
try:
|
||||
f.write(b"abc")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue