code: def test_new_without_args(capsys):
      # Dataset name is required argument
      with pytest.raises(SystemExit):
          _run_cli("new")
  
      captured = capsys.readouterr()
      assert (
          "the following arguments are required: dataset_name"
          in captured.err
      )
  
file_path: datasets/tensorflow_datasets/scripts/cli/new_test.py
imports: import pathlib
  import pytest
  from tensorflow_datasets.scripts.cli import main
  from tensorflow_datasets.scripts.cli import new
label_desc: Use image node_id 2 for calling a global function with example usage: test_new_without_args(capsys) without return types