Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test_quadsum.py ] undefined name #538

Closed
Harveyt47 opened this issue May 8, 2020 · 2 comments
Closed

[test_quadsum.py ] undefined name #538

Harveyt47 opened this issue May 8, 2020 · 2 comments

Comments

@Harveyt47
Copy link
Member

Harveyt47 commented May 8, 2020

I have been running tests and got the following


./quantecon/tests/test_quadsum.py:60:5: F821 undefined name 'test_simplesum'
10
    test_simplesum()
11
    ^
12
./quantecon/tests/test_quadsum.py:61:5: F821 undefined name 'test_identitysum'
13
    test_identitysum()
14
    ^
15
./quantecon/tests/test_quadsum.py:63:5: F821 undefined name 'test_m_identitysum'
16
    test_m_identitysum

In test_quadsum.py test_var_simplesum() and test_var_identitysum() are defined but test_simplesum and test_identitysum are called.
@mmcky I got this while playing around with GitHub actions on my fork.

@oyamad
Copy link
Member

oyamad commented May 8, 2020

Run

nosetests test_quadsum.py

instead of

python test_quadsum.py

But those calls should be corrected. Pull request welcome!

@mmcky
Copy link
Contributor

mmcky commented May 9, 2020

Speaking with @Harveyt47 I think this is now resolved. Thanks @oyamad

@mmcky mmcky closed this as completed May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants