(path, ext)
| 762 | |
| 763 | |
| 764 | def get_files(path, ext): |
| 765 | full_path = os.path.join(get_dali_extra_path(), path) |
| 766 | audio_files = [ |
| 767 | os.path.join(full_path, f) |
| 768 | for f in os.listdir(full_path) |
| 769 | if re.match(f".*\\.{ext}", f) is not None |
| 770 | ] |
| 771 | return audio_files |
| 772 | |
| 773 | |
| 774 | def _test_skipped(reason=None): |
no test coverage detected