We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01dda4a commit 1194ff8Copy full SHA for 1194ff8
test/torchaudio_unittest/conftest.py
@@ -1,8 +1,10 @@
1
import pytest
2
-import csv
+import os
3
+
4
5
def pytest_collection_modifyitems(config, items):
- with open('ffmpeg_fail_ids.txt', 'r') as file:
6
+ fail_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "ffmpeg_fail_ids.txt")
7
+ with open(fail_path, 'r') as file:
8
fail_ids = set([f.strip() for f in file.readlines()])
9
10
skip_marker = pytest.mark.skip(reason="FFMPEG incompatible with CI runner")
ffmpeg_fail_ids.txt renamed to test/torchaudio_unittest/ffmpeg_fail_ids.txt
0 commit comments