Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 23, 2022
1 parent 447652a commit 3104706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/samplers/test_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_abstract(self, dataset: CustomGeoDataset) -> None:

class TestRandomBatchGeoSampler:
@pytest.fixture(scope="class")
def dataset(self):
def dataset(self) -> CustomGeoDataset:
ds = CustomGeoDataset()
ds.index.insert(0, (0, 100, 200, 300, 400, 500))
ds.index.insert(1, (0, 100, 200, 300, 400, 500))
Expand Down

0 comments on commit 3104706

Please sign in to comment.