diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 06:20:35 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 06:20:35 (GMT) |
commit | 9fe6d86709b0e769602ff55a6e5a202c440b9d8a (patch) | |
tree | ec3d7b1b0cbbd15658459e397c6905964c192331 /Lib/test/test_fileio.py | |
parent | 774f909489ca1395ba1e3f3a1f3d43495df6cdfe (diff) | |
download | cpython-9fe6d86709b0e769602ff55a6e5a202c440b9d8a.zip cpython-9fe6d86709b0e769602ff55a6e5a202c440b9d8a.tar.gz cpython-9fe6d86709b0e769602ff55a6e5a202c440b9d8a.tar.bz2 |
Issue 19572: More silently skipped tests explicitly skipped.
Diffstat (limited to 'Lib/test/test_fileio.py')
-rw-r--r-- | Lib/test/test_fileio.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index f91ccaa..a6853a1 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -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") |