Skip to content

Commit

Permalink
Simpler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Aug 27, 2024
1 parent 4867051 commit 34f381f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/datasets/test_skyscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ def test_getitem(self, dataset: SkyScript) -> None:
def test_len(self, dataset: SkyScript) -> None:
assert len(dataset) == 2

def test_not_extracted(self, dataset: SkyScript) -> None:
shutil.rmtree(os.path.join(dataset.root, 'images2'))
SkyScript(dataset.root)

def test_already_downloaded(self, dataset: SkyScript) -> None:
shutil.rmtree(os.path.join(dataset.root, 'images2'))
SkyScript(dataset.root)

def test_not_downloaded(self, tmp_path: Path) -> None:
Expand Down

0 comments on commit 34f381f

Please sign in to comment.