[issue38452] unittest setUpClass missing 1 required positional argument: 'cls'

2019-10-12 Thread Danylo
Danylo added the comment: Sorry, true. You can close the issue. -- stage: -> resolved status: pending -> closed ___ Python tracker ___

[issue38452] unittest setUpClass missing 1 required positional argument: 'cls'

2019-10-11 Thread Zachary Ware
Zachary Ware added the comment: `setUpClass` and `tearDownClass` are classmethods and must be decorated as such (`@classmethod`). -- nosy: +zach.ware resolution: -> not a bug status: open -> pending ___ Python tracker

[issue38452] unittest setUpClass missing 1 required positional argument: 'cls'

2019-10-11 Thread Danylo
New submission from Danylo : 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