summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 (GMT)
commitb362f75f6e5d8fe21d0cda740f9dcdf1976091f7 (patch)
tree1b7f020b0403e2378879af5c7e3cdeba27990dc2 /Lib/test/test_os.py
parent8c6849bfe6ccc0e508e23df385b4ca61c7e00236 (diff)
downloadcpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.zip
cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.gz
cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.bz2
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 57c7c88..fb34893 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -649,7 +649,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()')