diff options
Diffstat (limited to 'Lib/unittest')
| -rw-r--r-- | Lib/unittest/async_case.py | 2 | ||||
| -rw-r--r-- | Lib/unittest/test/testmock/testsealable.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/async_case.py b/Lib/unittest/async_case.py index 3e864d14d1..d8bfaf6b67 100644 --- a/Lib/unittest/async_case.py +++ b/Lib/unittest/async_case.py @@ -53,7 +53,7 @@ class IsolatedAsyncioTestCase(TestCase): # We intentionally don't add inspect.iscoroutinefunction() check # for func argument because there is no way # to check for async function reliably: - # 1. It can be "async def func()" iself + # 1. It can be "async def func()" itself # 2. Class can implement "async def __call__()" method # 3. Regular "def func()" that returns awaitable object self.addCleanup(*(func, *args), **kwargs) diff --git a/Lib/unittest/test/testmock/testsealable.py b/Lib/unittest/test/testmock/testsealable.py index 11784c3678..daba2b49b4 100644 --- a/Lib/unittest/test/testmock/testsealable.py +++ b/Lib/unittest/test/testmock/testsealable.py @@ -128,7 +128,7 @@ class TestSealable(unittest.TestCase): m.attr_sample2 def test_integration_with_spec_method_definition(self): - """You need to defin the methods, even if they are in the spec""" + """You need to define the methods, even if they are in the spec""" m = mock.Mock(SampleObject) m.method_sample1.return_value = 1 |
