-
-
Save ljwolf/31c10d2f9fe7bd1f79a3 to your computer and use it in GitHub Desktop.
test_error_sp.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F. | |
====================================================================== | |
FAIL: test_model (__main__.TestBaseGMEndogError) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ljw/dev/pysal/pysal/spreg/tests/test_error_sp.py", line 149, in test_model | |
np.testing.assert_array_almost_equal(reg.vm,vm,4) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal | |
precision=decimal) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 665, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not almost equal to 4 decimals | |
(mismatch 11.111111111111114%) | |
x: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4023e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
y: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4024e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
====================================================================== | |
FAIL: test_model (__main__.TestGMEndogError) | |
if i == None: | |
./home/ljw/dev/pysal/pysal/spreg/user_output.py:111: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future. | |
if yend != None: | |
/home/ljw/dev/pysal/pysal/spreg/user_output.py:138: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future. | |
if q != None: | |
F. | |
====================================================================== | |
FAIL: test_model (__main__.TestBaseGMEndogError) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ljw/dev/pysal/pysal/spreg/tests/test_error_sp.py", line 149, in test_model | |
np.testing.assert_array_almost_equal(reg.vm,vm,4) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal | |
precision=decimal) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 665, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not almost equal to 4 decimals | |
(mismatch 11.111111111111114%) | |
x: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4023e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
y: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4024e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
====================================================================== | |
FAIL: test_model (__main__.TestGMEndogError) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/ljw/dev/pysal/pysal/spreg/tests/test_error_sp.py", line 201, in test_model | |
np.testing.assert_array_almost_equal(reg.vm,vm,4) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal | |
precision=decimal) | |
File "/usr/local/lib/python3.4/dist-packages/numpy/testing/utils.py", line 665, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not almost equal to 4 decimals | |
(mismatch 11.111111111111114%) | |
x: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4023e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
y: array([[ 5.2916e+02, -1.5783e+01, -8.3802e+00], | |
[ -1.5783e+01, 5.4024e-01, 2.3112e-01], | |
[ -8.3802e+00, 2.3112e-01, 1.4498e-01]]) | |
---------------------------------------------------------------------- | |
Ran 6 tests in 0.127s | |
FAILED (failures=2) | |
An exception has occurred, use %tb to see the full traceback. | |
SystemExit: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment