diff options
author | Min ho Kim <minho42@gmail.com> | 2019-07-21 20:12:33 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-07-21 20:12:33 (GMT) |
commit | 96e12d5f4f3c5a20986566038ee763dff3c228a1 (patch) | |
tree | ae4039f978a155a295903e084f4531d42b8cf7a8 /Lib/test/support | |
parent | 8e3a7380ecb310b50e48f47d1f26190cc9c45eb6 (diff) | |
download | cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.zip cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.gz cpython-96e12d5f4f3c5a20986566038ee763dff3c228a1.tar.bz2 |
Fix typos in docs, comments and test assert messages (#14872)
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 4bf42e0..9efb3d9 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -2978,7 +2978,7 @@ def fd_count(): if sys.platform.startswith(('linux', 'freebsd')): try: names = os.listdir("/proc/self/fd") - # Substract one because listdir() opens internally a file + # Subtract one because listdir() internally opens a file # descriptor to list the content of the /proc/self/fd/ directory. return len(names) - 1 except FileNotFoundError: |