Skip to content

Commit

Permalink
Fix macOS expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Dec 15, 2023
1 parent 173dcc6 commit 2a1b57d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/test/test_action_script.py
Expand Up @@ -1024,7 +1024,7 @@ def test_parse_files(self):
(platform.mac_ver()[0].startswith("11.") or platform.mac_ver()[0].startswith("12.")):
# on macOS and below Python 3.9 we see one particular error
self.assertEqual(17, len(actual.errors))
self.assertEqual(731, actual.suites)
self.assertEqual(733, actual.suites)
self.assertEqual(4109, actual.suite_tests)
self.assertEqual(214, actual.suite_skipped)
self.assertEqual(450, actual.suite_failures)
Expand Down Expand Up @@ -1107,7 +1107,7 @@ def test_parse_files_with_suite_details(self):
if Version(sys.version.split(' ')[0]) < Version('3.9.0') and sys.platform.startswith('darwin') and \
(platform.mac_ver()[0].startswith("11.") or platform.mac_ver()[0].startswith("12.")):
# on macOS (below macOS 13) and Python below 3.9 we see one particular error
self.assertEqual(363, len(actual.suite_details))
self.assertEqual(364, len(actual.suite_details))
else:
self.assertEqual(365, len(actual.suite_details))

Expand Down Expand Up @@ -1199,9 +1199,9 @@ def test_main(self):
if Version(sys.version.split(' ')[0]) < Version('3.9.0') and sys.platform.startswith('darwin') and \
(platform.mac_ver()[0].startswith("11.") or platform.mac_ver()[0].startswith("12.")):
# on macOS and below Python 3.9 we see one particular error
self.assertEqual(733, results.suites)
self.assertEqual(733, len(results.suite_details))
self.assertEqual(1815, len(cases))
self.assertEqual(731, results.suites)
self.assertEqual(731, len(results.suite_details))
self.assertEqual(1811, len(cases))
else:
self.assertEqual(737, results.suites)
self.assertEqual(737, len(results.suite_details))
Expand Down

0 comments on commit 2a1b57d

Please sign in to comment.