setUpClassAndTestData is tricker than pylint understands

This commit is contained in:
Ned Batchelder
2018-11-02 07:22:44 -04:00
parent 59d78031d8
commit 8acea435cf
10 changed files with 26 additions and 0 deletions

View File

@@ -402,6 +402,7 @@ class SharedModuleStoreTestCase(
Use it like so:
@classmethod
def setUpClass(cls):
# pylint: disable=super-method-not-called
with super(MyTestClass, cls).setUpClassAndTestData():
<all the cls.setUpClass() setup code that performs modulestore setup...>
@classmethod