mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
parent
774f909489
commit
9fe6d86709
34 changed files with 122 additions and 134 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