Skip to content

Commit c397069

Browse files
committed
Remove redundant samples
1 parent 43efc74 commit c397069

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/test_data/speech/nearhou.wav

-1.26 MB
Binary file not shown.

tests/test_data/speech/sleep.wav

-1.26 MB
Binary file not shown.

tests/test_feature_extraction.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ def test_get_features():
1414
"""
1515
Test get_features function
1616
"""
17-
test_root = str(Path(__file__).parent)
18-
data_dir = os.path.join(test_root, "test_data")
17+
test_root = str(Path(__file__).parent.parent)
18+
data_dir = os.path.join(test_root, "data_samples/testing")
1919
features = get_features(data_dir, ["gfcc", "mfcc"])
2020
assert "speech" in features
21+
assert "music" in features
2122
assert len([i for i in features["speech"].keys() if "sleep.wav" in i]) > 0
2223
key = list(features["speech"].keys())[0]
2324
assert "features" in features["speech"][key]

0 commit comments

Comments
 (0)