-
Notifications
You must be signed in to change notification settings - Fork 91
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
Tests are failing due to wrong assumption #453
Comments
Yes, these tests are a bit fragile, as they depend on the used file system. I have been thinking about adding support for different file system time stamp resolutions, but this turned out to be a bit tricky, and is probably not really needed. |
Thank you very much for coming back to me this quickly. Having this fixed would be great, so I would appreciate a new minor release :-). |
Ok, done. I hope this works for you - couldn't really test it... |
Yes, this seems to fix it. Thank you very much. |
Thanks for doing the packaging! |
I'm packaging this for openSUSE. With the most recent update, I'm running into issues with the test suite. You can find the full build log here, but it basically boils down to this:
As you can see all of the timestamps are the same for me, so it seems that the assumption that it will be less is false.
I'm guessing the code in question is this:
https://github.com/jmcgeheeiv/pyfakefs/blob/f0c32f1972e3e176780ab247855719705084858e/pyfakefs/tests/fake_stat_time_test.py#L46-L50
Another interesting data point is that it works fine on my local machine (btrfs filesystem), but that it fails on our build service (see above), which is a XFS filesystem. Let me know if you need more information or want me to run some tests.
The text was updated successfully, but these errors were encountered: