-
Notifications
You must be signed in to change notification settings - Fork 682
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
[self-tests] test_add_option_kwargs fails on ppc64le #896
Comments
|
Thanks for the report! I can't remember why I wrote the test using loguru/tests/test_add_option_kwargs.py Lines 24 to 30 in d379fed
I'll update the test so that it's deterministic and not OS-dependent. |
|
Now I remember why I implemented the test in this way. A fixed-size buffer can only be used with files opened in binary mode, but Loguru doesn't support binary mode. The test can't be made fully deterministic, therefore I added a check to skip the test on platforms where an unexpected buffer size is encountered. Thanks again for the report. It has been fixed on |
test_add_option_kwargs(loguru 0.7.0) fails on ppc64le machine with:According to https://docs.python.org/3/library/functions.html#open:
On that machine:
The text was updated successfully, but these errors were encountered: