shunk031 commited on
Commit
e2859a4
·
verified ·
1 Parent(s): b6d9daf

Delete tests/Magazine_test.py

Browse files
Files changed (1) hide show
  1. tests/Magazine_test.py +0 -27
tests/Magazine_test.py DELETED
@@ -1,27 +0,0 @@
1
- import os
2
-
3
- import pytest
4
-
5
- import datasets as ds
6
-
7
-
8
- @pytest.fixture
9
- def dataset_path() -> str:
10
- return "Magazine.py"
11
-
12
-
13
- @pytest.mark.skipif(
14
- condition=bool(os.environ.get("CI", False)),
15
- reason=(
16
- "Because this loading script downloads a large dataset, "
17
- "we will skip running it on CI."
18
- ),
19
- )
20
- @pytest.mark.parametrize(
21
- argnames=("expected_num_dataset",),
22
- argvalues=((3919,),),
23
- )
24
- def test_load_dataset(dataset_path: str, expected_num_dataset: int):
25
- dataset = ds.load_dataset(path=dataset_path, token=True)
26
-
27
- assert dataset["train"].num_rows == expected_num_dataset