How to disable unittest in pycharm community edition 3.0?

My script with unittest runs ok in eclipse IDE or in console. But in pycharm i get error:

Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 3.0\helpers\pycharm\utrunner.py", line 119, in <module>
all.addTests(testLoader.loadTestsFromModule(module))
File "C:\Python27\lib\unittest\loader.py", line 65, in loadTestsFromModule
tests.append(self.loadTestsFromTestCase(obj))
File "C:\Python27\lib\unittest\loader.py", line 56, in loadTestsFromTestCase
loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
TypeError: __init__() takes exactly 3 arguments (2 given)

how can i run my script in pycharm?
1 comment
Comment actions Permalink
Hi Charmy,

can't reproduce this behavior. Please, file an issue in our tracker with the reproducible scenario.

You can create script run configuration for the file using Run->Edit Configurations->Add Python script configuration
0

Please sign in to leave a comment.