File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 66# from .proplib_template import (
77
88# )
9-
10- # TODO-TEMPLATE: Put the name of the module here
11- __all__ = ["proplib_template" ]
Original file line number Diff line number Diff line change 22from pathlib import Path
33
44# Test data is expected to exist in tests/data
5- TEST_DATA_DIR = Path (__file__ ).parent / "data"
5+ # TODO-TEMPLATE: Remove the '#' in the line below after adding your test data submodule
6+ TEST_DATA_DIR = Path (__file__ ).parent # / "data"
67ABSTOL__DB = 0.1 # Absolute tolerance, in dB, to ensure outputs match expected value
78
9+ # Check if test data directory exists and is not empty
10+ if not TEST_DATA_DIR .exists () or not any (TEST_DATA_DIR .iterdir ()):
11+ raise RuntimeError (
12+ f"Test data is not available in { TEST_DATA_DIR } .\n Try running "
13+ + "`git submodule init` and `git submodule update` to clone the test data submodule."
14+ )
15+
816
917# TODO-TEMPLATE: Update CSV reader based on test data CSV structure
1018def read_csv_test_data (filename : str ):
You can’t perform that action at this time.
0 commit comments