diff --git a/ci/requirements.txt b/ci/requirements.txt index 3d026de..66af4dd 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -1,10 +1,9 @@ black==22.6.0 codecov==2.1.12 -coverage==5.0.3 +coverage==6.4.1 opencv-python-headless==4.6.0.66 -pytest==3.10.1 -pytest-cov==2.6.0 +pytest==7.1.2 +pytest-cov==3.0.0 pytest-flake8==1.1.1 pytest-pep8==1.0.6 pytest-lazy-fixture==0.6.3 -pytest-remotedata==0.3.2 diff --git a/tests/test_base_transforms.py b/tests/test_base_transforms.py index d1f7677..bc36dfb 100644 --- a/tests/test_base_transforms.py +++ b/tests/test_base_transforms.py @@ -154,7 +154,7 @@ def test_data_container_wraps_correctly(img): @pytest.mark.parametrize("return_torch", [False, True]) -@pytest.mark.parametrize("trf", filter(lambda t: not issubclass(t, slt.HSV), all_trfs_solt)) +@pytest.mark.parametrize("trf", filter(lambda t: not issubclass(t, (slt.HSV, slt.RandomResizedCrop)), all_trfs_solt)) def test_transforms_return_torch(img_3x3, trf, return_torch): if "p" in inspect.getfullargspec(trf.__init__): trf: slc.BaseTransform = trf(p=1)