def test_fetch_cached_uea_dataset():
    """Test that a cached dataset can be loaded using 'fetch_uea_dataset'."""
    res = fetch_uea_dataset('BasicMotions', use_cache=True)
    assert res.data_train.shape == (40, 6, 100)
    assert res.data_test.shape == (40, 6, 100)
    assert res.target_train.shape == (40,)
    assert res.target_test.shape == (40,)
Test that a cached dataset can be loaded using 'fetch_uea_dataset'.
pyts/datasets/tests/test_uea.py