Skip to content

Commit

Permalink
Dont run flaky test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Sep 10, 2024
1 parent a255d78 commit 15fe088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdks/python/apache_beam/ml/inference/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,10 +878,10 @@ def test_run_inference_timeout_not_hit(self):
bad_without_error, equal_to(expected_bad), label='assert:failures')

@unittest.skipIf(
sys.version_info < (3, 11),
sys.platform == "win32" or sys.version_info < (3, 11),
"This test relies on the __del__ lifecycle method, but __del__ does " +
"not get invoked in the same way on older versions of Python, " +
"breaking this test. See " +
"not get invoked in the same way on older versions of Python or on " +
"windows, breaking this test. See " +
"github.com/python/cpython/issues/87950#issuecomment-1807570983 " +
"for example.")
def test_run_inference_timeout_does_garbage_collection(self):
Expand Down

0 comments on commit 15fe088

Please sign in to comment.