Skip to content

Commit 03a81b4

Browse files
committed
fix test
1 parent 21769e2 commit 03a81b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/commands/test_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from packaging import version
77

88
from datasets import config
9-
from datasets.commands.test import CLITestCommand
9+
from datasets.commands.test import TestCommand
1010

1111

1212
if config.PY_VERSION >= version.parse("3.7"):
@@ -45,7 +45,7 @@ def __iter__(self):
4545

4646
def test_test_command(dataset_loading_script_dir):
4747
args = _TestCommandArgs(dataset=dataset_loading_script_dir, all_configs=True, save_infos=True)
48-
test_command = CLITestCommand(*args)
48+
test_command = TestCommand(*args)
4949
test_command.run()
5050
dataset_infos_path = os.path.join(dataset_loading_script_dir, config.DATASETDICT_INFOS_FILENAME)
5151
assert os.path.exists(dataset_infos_path)

0 commit comments

Comments
 (0)