Skip to content

Commit

Permalink
CI requirements and a broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
lext committed Jul 11, 2022
1 parent 377d367 commit 99720d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tests/test_base_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 99720d3

Please sign in to comment.