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

assertion failure in tests/test_imus.py #42

Open
robcee opened this issue Oct 30, 2020 · 1 comment
Open

assertion failure in tests/test_imus.py #42

robcee opened this issue Oct 30, 2020 · 1 comment

Comments

@robcee
Copy link

robcee commented Oct 30, 2020

running a unittest on my local machine, I ran into this assertion:

FAIL: test_kalman (skinematics.tests.test_imus.TestSequenceFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\...\scikit-kinematics\skinematics\tests\test_imus.py", line 87, in test_kalman
    self.assertAlmostEqual(error, 0, places=2)  # It is not clear why the Kalman filter is not more accurate
AssertionError: 0.20809466821986328 != 0 within 2 places (0.20809466821986328 difference)

----------------------------------------------------------------------
Ran 49 tests in 6.549s

FAILED (failures=1)

My environment: Windows 10, Python 3.8.6,
alabaster==0.7.12
attrs==19.3.0
Babel==2.8.0
backcall==0.2.0
bleach==3.1.5
CacheControl==0.12.6
cachetools==4.1.1
certifi==2020.6.20
cffi==1.14.2
chardet==3.0.4
colorama==0.4.3
cryptography==3.0
cycler==0.10.0
decorator==4.4.2
defusedxml==0.6.0
docutils==0.16
entrypoints==0.3
...
grpcio==1.32.0
httplib2==0.18.1
idna==2.10
imagesize==1.2.0
ipykernel==5.3.3
ipython==7.16.1
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.17.2
Jinja2==2.11.2
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.1.6
jupyter-console==6.1.0
jupyter-core==4.6.3
jwcrypto==0.7
kaleido==0.0.1
kiwisolver==1.3.0
MarkupSafe==1.1.1
matplotlib==3.3.2
mistune==0.8.4
mpmath==1.1.0
msgpack==1.0.0
Naked==0.1.31
nbconvert==5.6.1
nbformat==5.0.7
notebook==6.0.3
numpy==1.19.1
oauth2client==4.1.3
packaging==20.4
pandas==1.0.5
pandocfilters==1.4.2
parso==0.7.0
pickleshare==0.7.5
pika==1.1.0
Pillow==8.0.1
plotly==4.9.0
prometheus-client==0.8.0
prompt-toolkit==3.0.5
protobuf==3.13.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
pygame==2.0.0
Pygments==2.6.1
PyOpenGL==3.1.5
pyparsing==2.4.7
pyrsistent==0.16.0
python-dateutil==2.8.1
python-jwt==3.2.6
pytz==2020.1
pywin32==228
pywinpty==0.5.7
PyYAML==5.3.1
pyzmq==19.0.1
qtconsole==4.7.5
QtPy==1.9.0
requests==2.24.0
requests-toolbelt==0.9.1
retrying==1.3.3
rsa==4.6
scikit-kinematics==0.8.5
scipy==1.5.3
Send2Trash==1.5.0
shellescape==3.8.1
six==1.15.0
snowballstemmer==2.0.0
Sphinx==3.2.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
sseclient==0.0.26
sympy==1.6.2
terminado==0.8.3
testpath==0.4.4
tornado==6.0.4
traitlets==4.3.3
uritemplate==3.0.1
urllib3==1.25.10
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.1

@robcee
Copy link
Author

robcee commented Oct 30, 2020

allowing that assertion to pass (modifying the test to allow for a difference of 0.2 by 1 places), I have no other errors.

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

1 participant