-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2303 from silx-kit/2024.09
Update CI
- Loading branch information
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
__contact__ = "Jérô[email protected]" | ||
__license__ = "MIT" | ||
__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France" | ||
__date__ = "05/06/2024" | ||
__date__ = "17/10/2024" | ||
|
||
import sys | ||
import unittest | ||
|
@@ -108,14 +108,12 @@ def test_extract_control_points(self): | |
|
||
self.assertEqual(self.mock_extract_peaks_in_one_ring.call_count, 3) | ||
|
||
if sys.platform=='win32': | ||
# work arround for this issue https://github.com/python/cpython/issues/84147 and | ||
# #2189 related to threads being used and the function callability checked. | ||
self.mock_extract_peaks_in_one_ring.assert_called() | ||
else: | ||
self.mock_extract_peaks_in_one_ring.assert_has_calls( | ||
[mock.call(0, 1), mock.call(1, 1), mock.call(2, 1)], | ||
any_order=False) | ||
# work arround for this issue https://github.com/python/cpython/issues/84147 and | ||
# #2189 related to threads being used and the function callability checked. | ||
self.mock_extract_peaks_in_one_ring.assert_called() | ||
# self.mock_extract_peaks_in_one_ring.assert_has_calls( | ||
# [mock.call(0, 1), mock.call(1, 1), mock.call(2, 1)], | ||
# any_order=False) | ||
|
||
|
||
class TestExtractOneRing(RingExtractionTestBase): | ||
|