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

st_mtime_ns precision or rounding related test failure #304

Open
ThomasWaldmann opened this issue May 9, 2015 · 0 comments
Open

st_mtime_ns precision or rounding related test failure #304

ThomasWaldmann opened this issue May 9, 2015 · 0 comments

Comments

@ThomasWaldmann
Copy link
Contributor

Tests for PR #256 showed this test failure only on py 3.2, but the failure seems unrelated to the changes it the PR and might point to a general problem that doesn't show up always:

FAIL: test_overwrite (attic.testsuite.archiver.RemoteArchiverTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "attic/testsuite/archiver.py", line 324, in test_overwrite
    self.assert_dirs_equal('input', 'output/input')
  File "attic/testsuite/__init__.py", line 53, in assert_dirs_equal
    self._assert_dirs_equal_cmp(diff)
  File "attic/testsuite/__init__.py", line 84, in _assert_dirs_equal_cmp
    self.assert_equal(d1, d2)
AssertionError: Lists differ: ['dir2', 16832, 0, 0, 0, 2, 14... != ['dir2', 16832, 0, 0, 0, 2, 14...
First differing element 6:
1430088870571000000
1430088870570000000
- ['dir2', 16832, 0, 0, 0, 2, 1430088870571000000, {}]
?                                         ^
+ ['dir2', 16832, 0, 0, 0, 2, 1430088870570000000, {}]
?                                         ^
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