MCPcopy Create free account
hub / github.com/tensorflow/datasets / dummy_dataset

Function dummy_dataset

tensorflow_datasets/conftest.py:141–147  ·  view source on GitHub ↗

Dummy dataset builder pre-generated.

(
    tmp_path_factory: pytest.TempPathFactory,
)

Source from the content-addressed store, hash-verified

139
140@pytest.fixture(scope='session')
141def dummy_dataset(
142 tmp_path_factory: pytest.TempPathFactory,
143) -> dataset_builder.DatasetBuilder:
144 """Dummy dataset builder pre-generated."""
145 from tensorflow_datasets import testing # pylint: disable=g-import-not-at-top
146
147 return _make_dataset(tmp_path_factory, testing.DummyDataset)
148
149
150@pytest.fixture(name='default_data_dir')

Callers

nothing calls this directly

Calls 1

_make_datasetFunction · 0.85

Tested by

no test coverage detected