diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 04:27:17 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 04:27:17 (GMT) |
commit | e56a9191000d2ff15d7550b9c852fa6dee9b8f50 (patch) | |
tree | 20b3d1d4f881f7c9e9b3549f79719497070b530a /Lib/test/test_os.py | |
parent | 9785261d68f62ce33968d15c7a0f10f1f8209807 (diff) | |
parent | d2ad5718ad955a13cf570bacad1d7800d995da33 (diff) | |
download | cpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.zip cpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.tar.gz cpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.tar.bz2 |
Issue #25523: Merge a-to-an corrections from 3.5
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index d4b9e9c..e8a7c97 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1448,7 +1448,7 @@ class TestInvalidFD(unittest.TestCase): except OSError as e: self.assertEqual(e.errno, errno.EBADF) else: - self.fail("%r didn't raise a OSError with a bad file descriptor" + self.fail("%r didn't raise an OSError with a bad file descriptor" % f) @unittest.skipUnless(hasattr(os, 'isatty'), 'test needs os.isatty()') |