diff --git a/src/pep8ext_naming.py b/src/pep8ext_naming.py index 44c1207..0fc57a8 100644 --- a/src/pep8ext_naming.py +++ b/src/pep8ext_naming.py @@ -107,6 +107,8 @@ class _FunctionType(object): 'tearDown', 'setUpClass', 'tearDownClass', + 'setUpModule', + 'tearDownModule', 'asyncSetUp', 'asyncTearDown', 'setUpTestData', diff --git a/testsuite/N802.py b/testsuite/N802.py index 406bed9..9bf09be 100644 --- a/testsuite/N802.py +++ b/testsuite/N802.py @@ -60,6 +60,14 @@ def setUp(): def tearDown(): pass +#: Okay +def setUpModule(): + pass + +#: Okay +def tearDownModule(): + pass + #: Okay class TestCase: def setUp(self):