Author dizcza
Recipients dizcza
Date 2019-10-11.21:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570829339.09.0.69466145285.issue38452@roundup.psfhosted.org>
In-reply-to
Content
Currently, unittest setUpClass and tearDownClass methods are incorrectly called from within its core.

```
class TestUltrasonicEnv(unittest.TestCase):

    def setUpClass(cls):
        pass
    

    def tearDownClass(cls):
        pass
```

Traceback (the same for teadDownClass)
```
  File "/home/dizcza/anaconda3/envs/robotsim/lib/python3.7/unittest/suite.py", line 163, in _handleClassSetUp
    setUpClass()
TypeError: setUpClass() missing 1 required positional argument: 'cls'
```

The traceback is self-descriptive.
History
Date User Action Args
2019-10-11 21:28:59dizczasetrecipients: + dizcza
2019-10-11 21:28:59dizczasetmessageid: <1570829339.09.0.69466145285.issue38452@roundup.psfhosted.org>
2019-10-11 21:28:59dizczalinkissue38452 messages
2019-10-11 21:28:58dizczacreate