From 6aa6f32f8322f087bd4755ee16518ecc9505f7f2 Mon Sep 17 00:00:00 2001 From: Caleb Robinson Date: Sat, 2 Jul 2022 16:39:01 +0000 Subject: [PATCH] Running black --- tests/data/deepglobelandcover/data.py | 4 ++-- tests/datasets/test_deepglobelandcover.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/deepglobelandcover/data.py b/tests/data/deepglobelandcover/data.py index 071b3a536a6..1c8778bf8d4 100644 --- a/tests/data/deepglobelandcover/data.py +++ b/tests/data/deepglobelandcover/data.py @@ -13,11 +13,11 @@ def generate_test_data(root: str, n_samples: int = 3) -> str: """Create test data archive for DeepGlobeLandCover dataset. - + Args: root: path to store test data n_samples: number of samples. - + Returns: md5 hash of created archive """ diff --git a/tests/datasets/test_deepglobelandcover.py b/tests/datasets/test_deepglobelandcover.py index f0b781c09e7..e6f08bbf4e6 100644 --- a/tests/datasets/test_deepglobelandcover.py +++ b/tests/datasets/test_deepglobelandcover.py @@ -24,7 +24,7 @@ def dataset( monkeypatch.setattr(DeepGlobeLandCover, "md5", md5) root = os.path.join("tests", "data", "deepglobelandcover") split = request.param - transforms = nn.Identity() + transforms = nn.Identity() return DeepGlobeLandCover(root, split, transforms, checksum=True) def test_getitem(self, dataset: DeepGlobeLandCover) -> None: