spelling: torn_down

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2024-03-12 08:36:40 -04:00
parent b9176faff7
commit adbe684ee7
1 changed files with 3 additions and 3 deletions

View File

@ -299,7 +299,7 @@ def test_setup_setUpClass(pytester: Pytester) -> None:
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):
cls.x -= 1 cls.x -= 1
def test_teareddown(): def test_torn_down():
assert MyTestCase.x == 0 assert MyTestCase.x == 0
""" """
) )
@ -346,7 +346,7 @@ def test_setup_class(pytester: Pytester) -> None:
assert self.x == 1 assert self.x == 1
def teardown_class(cls): def teardown_class(cls):
cls.x -= 1 cls.x -= 1
def test_teareddown(): def test_torn_down():
assert MyTestCase.x == 0 assert MyTestCase.x == 0
""" """
) )
@ -881,7 +881,7 @@ def test_non_unittest_no_setupclass_support(pytester: Pytester) -> None:
def tearDownClass(cls): def tearDownClass(cls):
cls.x = 1 cls.x = 1
def test_not_teareddown(): def test_not_torn_down():
assert TestFoo.x == 0 assert TestFoo.x == 0
""" """