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

AssertionError test failures on i686 and armv7hl #61

Open
firefly-cpp opened this issue Dec 21, 2021 · 1 comment
Open

AssertionError test failures on i686 and armv7hl #61

firefly-cpp opened this issue Dec 21, 2021 · 1 comment

Comments

@firefly-cpp
Copy link
Contributor

My motivation is packaging devicely in Fedora Linux, where i686 and armv7hl are supported primary architectures. Some tests are failing. Can you take a look at it please?

=================================== FAILURES ===================================
_________________________ EmpaticaTestCase.test_write __________________________
self = <test_empatica.EmpaticaTestCase testMethod=test_write>
def test_write(self):
# test the writing capability by writing, reading with a new reader and comparing the old to the new data

    self.reader.write(self.WRITE_PATH)
    new_reader = devicely.EmpaticaReader(self.WRITE_PATH)
  self._test_compare_real_and_expected(new_reader, self.expected_start_times, self.expected_sample_freqs,
                                                     self.expected_ACC_head, self.expected_BVP_head,
                                                     self.expected_EDA_head, self.expected_HR_head,
                                                     self.expected_TEMP_head, self.expected_IBI_head,
                                                     self.expected_tags)

tests/test_empatica.py:129:


tests/test_empatica.py:105: in _test_compare_real_and_expected
pd.testing.assert_frame_equal(reader.IBI.head(), expected_IBI_head, check_dtype=False, check_freq=False)
pandas/_libs/testing.pyx:53: in pandas._libs.testing.assert_almost_equal
???


???
E AssertionError: DataFrame.index are different
E
E DataFrame.index values are different (100.0 %)
E [left]: DatetimeIndex(['2019-03-01 15:15:00.602777936',
E '2019-03-01 15:15:01.493443936',
E '2019-03-01 15:15:02.401839640',
E '2019-03-01 15:14:59.216298344',
E '2019-03-01 15:15:00.091338344'],
E dtype='datetime64[ns]', name='time', freq=None)
E [right]: DatetimeIndex(['2019-03-01 15:17:26.631666', '2019-03-01 15:17:27.522332',
E '2019-03-01 15:17:32.725695', '2019-03-01 15:17:33.835121',
E '2019-03-01 15:17:34.710161'],
E dtype='datetime64[ns]', name='time', freq=None)
pandas/_libs/testing.pyx:168: AssertionError
=============================== warnings summary ===============================
../../../../usr/lib/python3.10/site-packages/numexpr/expressions.py:20
/usr/lib/python3.10/site-packages/numexpr/expressions.py:20: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED tests/test_empatica.py::EmpaticaTestCase::test_write - AssertionError:...

@arianesasso
Copy link
Member

@firefly-cpp Happy New Year! Sorry for the delay, we will take a look into that :).

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

2 participants