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

Issue with test for rank_size #553

Closed
mmcky opened this issue Jun 29, 2020 · 1 comment · Fixed by #556
Closed

Issue with test for rank_size #553

mmcky opened this issue Jun 29, 2020 · 1 comment · Fixed by #556

Comments

@mmcky
Copy link
Contributor

mmcky commented Jun 29, 2020

@bktaha would you have any time to look into this issue with the rank_size test?

Travis was broken due to the migration to .com from the .org site and QuantEcon.py was using legacy connections -- which has now been fixed.

I'll hold off on issuing a new release until this is fixed.

FAIL: Tests `rank_size` function, which generates rank-size data for
896----------------------------------------------------------------------
897Traceback (most recent call last):
898  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/nose/case.py", line 198, in runTest
899    self.test(*self.arg)
900  File "/home/travis/build/QuantEcon/QuantEcon.py/quantecon/tests/test_inequality.py", line 119, in test_rank_size
901    assert_allclose(r_sqval, 1, rtol=1e-4)
902  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
903    verbose=verbose, header=header, equal_nan=equal_nan)
904  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
905    raise AssertionError(msg)
906AssertionError: 
907Not equal to tolerance rtol=0.0001, atol=0
908
909Mismatched elements: 1 / 1 (100%)
910Max absolute difference: 0.00188538
911Max relative difference: 0.00188538
912 x: array(0.998115)
913 y: array(1)
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

Successfully merging a pull request may close this issue.

1 participant