Jon Chu
Jon Chu

Reputation: 1937

In PyCharm, I have an unresolved reference when calling nose.tools.assert_equals?

When I try to use pycharm with nose, I get red underlines with "unresolved reference" when calling assert_raises. I'm using a virtualenv interpreter, but nose is installed and can be run from ipython. Also, running nosetests on actual tests shows no error.

The code I'm running is:

from nose.tools import *

def test1():
    assert_equals(1,1)

Again, nose runs fine, but the linting mechanism in pycharm thinks this is an error. Any help on configuring pycharm?

Upvotes: 1

Views: 1238

Answers (2)

Andrey
Andrey

Reputation: 16401

Issue has been fixed in PyCharm 3.0

Upvotes: 1

CrazyCoder
CrazyCoder

Reputation: 402345

I've reproduced the problem and submitted a bug to YouTrack, please star/vote the issue to track the progress.

Upvotes: 2

Related Questions