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

Issue on windows Python 3.12 only: #95

Open
kif opened this issue Sep 11, 2024 · 2 comments
Open

Issue on windows Python 3.12 only: #95

kif opened this issue Sep 11, 2024 · 2 comments

Comments

@kif
Copy link
Member

kif commented Sep 11, 2024

======================================================================
FAIL: test_collect_files_only_returns_existing_files (freesas.test.test_fitting.TestFitting.test_collect_files_only_returns_existing_files)
Test that collect_files discards strings that do not match an existing file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\kieffer\workspace\freesas\build\Lib\site-packages\freesas\test\test_fitting.py", line 359, in test_collect_files_only_returns_existing_files
    self.assertEqual(
AssertionError: Lists differ: [] != [WindowsPath('testgood')]

Second list contains 1 additional elements.
First extra element 0:
WindowsPath('testgood')

- []
+ [WindowsPath('testgood')]

======================================================================
SKIPPED: test_get_linesep_returns_n_if_output_is_filestream_on_posix (freesas.test.test_fitting.TestFitting.test_get_linesep_returns_n_if_output_is_filestream_on_posix)
Test that get_linesep() returns
SKIPPED: test_get_linesep_returns_n_if_output_is_stdout_on_posix (freesas.test.test_fitting.TestFitting.test_get_linesep_returns_n_if_output_is_stdout_on_posix)
Test that get_linesep() returns
----------------------------------------------------------------------
Only POSIX
======================================================================
SKIPPED: test_run_guinier_outputs_error_if_file_not_found (freesas.test.test_fitting.TestFitting.test_run_guinier_outputs_error_if_file_not_found)
Test that run_guinier_fit outputs an error if data loading raises OSError
SKIPPED: test_run_guinier_outputs_error_if_file_not_parsable (freesas.test.test_fitting.TestFitting.test_run_guinier_outputs_error_if_file_not_parsable)
Test that run_guinier_fit outputs an error if data loading raises ValueError
----------------------------------------------------------------------
Unreliable
----------------------------------------------------------------------
Ran 109 tests in 69.028s

FAILED (failures=1, skipped=4)
@kif
Copy link
Member Author

kif commented Sep 12, 2024

Issue related to mocked test ...

@kif
Copy link
Member Author

kif commented Sep 12, 2024

I skip this test for now ... should be addressed by other means than mocking the operating system calls: it has proven not being robust.

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