diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d4043585cc..b8b73907d4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -70,10 +70,10 @@ jobs: maximum-size: 16GB disk-root: "D:" - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.9' - name: Prepare pip wheel run: | which python diff --git a/tests/test_clip_intensity_percentilesd.py b/tests/test_clip_intensity_percentilesd.py index fa727b6adb..ed4fc588cb 100644 --- a/tests/test_clip_intensity_percentilesd.py +++ b/tests/test_clip_intensity_percentilesd.py @@ -96,7 +96,7 @@ def test_channel_wise(self, p): for i, c in enumerate(im): lower, upper = percentile(c, (5, 95)) expected = clip(c, lower, upper) - assert_allclose(result[key][i], p(expected), type_test="tensor", rtol=1e-4, atol=0) + assert_allclose(result[key][i], p(expected), type_test="tensor", rtol=1e-3, atol=0) def test_ill_sharpness_factor(self): key = "img"