Skip to content

Commit 1194ff8

Browse files
committed
Move failing test ids file to same directory
1 parent 01dda4a commit 1194ff8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/torchaudio_unittest/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import pytest
2-
import csv
2+
import os
3+
34

45
def pytest_collection_modifyitems(config, items):
5-
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:
68
fail_ids = set([f.strip() for f in file.readlines()])
79

810
skip_marker = pytest.mark.skip(reason="FFMPEG incompatible with CI runner")
File renamed without changes.

0 commit comments

Comments
 (0)