diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py index dad715eb087387..0920345a78ce81 100644 --- a/Lib/sysconfig/__init__.py +++ b/Lib/sysconfig/__init__.py @@ -375,7 +375,7 @@ def _get_sysconfigdata(): def _installation_is_relocated(): - """Is the Python installation running from a different prefix than what was targetted when building?""" + """Is the Python installation running from a different prefix than what was targeted when building?""" if os.name != 'posix': raise NotImplementedError('sysconfig._installation_is_relocated() is currently only supported on POSIX') diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 3062ec6588fd16..5a14872fbf3e7a 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -2956,7 +2956,7 @@ def __iter__(self): def in_systemd_nspawn_sync_suppressed() -> bool: """ - Test whether the test suite is runing in systemd-nspawn + Test whether the test suite is running in systemd-nspawn with ``--suppress-sync=true``. This can be used to skip tests that rely on ``fsync()`` calls diff --git a/Lib/test/test_build_details.py b/Lib/test/test_build_details.py index 05ce163a337881..60ecb78861da66 100644 --- a/Lib/test/test_build_details.py +++ b/Lib/test/test_build_details.py @@ -11,7 +11,7 @@ class FormatTestsBase: @property def contents(self): - """Install details file contents. Should be overriden by subclasses.""" + """Install details file contents. Should be overridden by subclasses.""" raise NotImplementedError @property diff --git a/Lib/test/test_memoryview.py b/Lib/test/test_memoryview.py index 61b068c630c7ce..3e6905b613cbe9 100644 --- a/Lib/test/test_memoryview.py +++ b/Lib/test/test_memoryview.py @@ -738,7 +738,7 @@ def test_picklebuffer_reference_loop(self): @support.requires_resource("cpu") class RacingTest(unittest.TestCase): def test_racing_getbuf_and_releasebuf(self): - """Repeatly access the memoryview for racing.""" + """Repeatedly access the memoryview for racing.""" try: from multiprocessing.managers import SharedMemoryManager except ImportError: diff --git a/Lib/test/test_opcache.py b/Lib/test/test_opcache.py index ac132465b227ad..43ef600d3f7f20 100644 --- a/Lib/test/test_opcache.py +++ b/Lib/test/test_opcache.py @@ -554,7 +554,7 @@ def instantiate(): def make_deferred_ref_count_obj(): """Create an object that uses deferred reference counting. - Only objects that use deferred refence counting may be stored in inline + Only objects that use deferred reference counting may be stored in inline caches in free-threaded builds. This constructs a new class named Foo, which uses deferred reference counting. """