summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py2
-rw-r--r--Lib/test/test_dict.py2
-rw-r--r--Lib/test/test_io.py2
-rw-r--r--Lib/test/test_socket.py2
-rw-r--r--Lib/test/test_userdict.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index dedfdfe..431042e 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -27,7 +27,7 @@ python -E -Wd -m test [options] [test_name1 ...]
EPILOG = """\
Additional option details:
--r randomizes test execution order. You can use --randseed=int to provide a
+-r randomizes test execution order. You can use --randseed=int to provide an
int seed value for the randomizer; this is useful for reproducing troublesome
test orders.
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
index 2488b63..3b42414 100644
--- a/Lib/test/test_dict.py
+++ b/Lib/test/test_dict.py
@@ -603,7 +603,7 @@ class DictTest(unittest.TestCase):
# (D) subclass defines __missing__ method returning a value
# (E) subclass defines __missing__ method raising RuntimeError
# (F) subclass sets __missing__ instance variable (no effect)
- # (G) subclass doesn't define __missing__ at a all
+ # (G) subclass doesn't define __missing__ at all
class D(dict):
def __missing__(self, key):
return 42
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 465d45a..28f440d 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -15,7 +15,7 @@
################################################################################
# When writing tests for io, it's important to test both the C and Python
# implementations. This is usually done by writing a base test that refers to
-# the type it is testing as a attribute. Then it provides custom subclasses to
+# the type it is testing as an attribute. Then it provides custom subclasses to
# test both implementations. This file has lots of examples.
################################################################################
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 63cc284..1e355ea 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -4549,7 +4549,7 @@ class TestUnixDomain(unittest.TestCase):
except OSError as e:
if str(e) == "AF_UNIX path too long":
self.skipTest(
- "Pathname {0!a} is too long to serve as a AF_UNIX path"
+ "Pathname {0!a} is too long to serve as an AF_UNIX path"
.format(path))
else:
raise
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py
index 68a582c..1288943 100644
--- a/Lib/test/test_userdict.py
+++ b/Lib/test/test_userdict.py
@@ -171,7 +171,7 @@ class UserDictTest(mapping_tests.TestHashMappingProtocol):
# (D) subclass defines __missing__ method returning a value
# (E) subclass defines __missing__ method raising RuntimeError
# (F) subclass sets __missing__ instance variable (no effect)
- # (G) subclass doesn't define __missing__ at a all
+ # (G) subclass doesn't define __missing__ at all
class D(collections.UserDict):
def __missing__(self, key):
return 42