Issue with Nosetest runner and Python 2.7.5

Hey guys,

I updated my Python runtime to version 2.7.5 in order to be in line with the latest Google App Engine SDK.

Thing is, after changing to the new version of the Python runtime, every time I go to run a test I get the following stack trace:

/home/tombatron/Envs/project_virtual_env/bin/python /home/tombatron/.IntelliJIdea12/config/plugins/python/helpers/pycharm/noserunner.py /home/tombatron/Projects/project_folder/core/thing/tests/test_api.py::HandlerTests::test_can_do_thing "--with-gae --without-sandbox --logging-filter=-root"

Testing started at 12:29 PM ...

Traceback (most recent call last):

  File "/home/tombatron/.IntelliJIdea12/config/plugins/python/helpers/pycharm/noserunner.py", line 12, in <module>

    teamcity_plugin = TeamcityPlugin()

  File "/home/tombatron/.IntelliJIdea12/config/plugins/python/helpers/pycharm/nose_utils.py", line 39, in __init__

    TextTestResult.__init__(self, stream, descriptions, verbosity)

  File "/home/tombatron/Envs/project_virtual_env/lib/python2.7/site-packages/nose/result.py", line 44, in __init__

    _TextTestResult.__init__(self, stream, descriptions, verbosity)

  File "/usr/local/lib/python2.7/unittest/runner.py", line 37, in __init__

    super(TextTestResult, self).__init__(stream, descriptions, verbosity)

TypeError: __init__() takes at most 2 arguments (4 given)

Process finished with exit code 1

Empty test suite.

Anyone have any ideas here?

1 comment

This issue is already fixed, and the fix should be included in the current Python plugin for IntelliJ IDEA 13.
http://youtrack.jetbrains.com/issue/PY-9136

0

Please sign in to leave a comment.