Skip to content

Commit a407a42

Browse files
committed
Fix datasets/cmuarctic test failures when using python 3.13
1 parent 1c66402 commit a407a42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/torchaudio/datasets/cmuarctic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ def __init__(
127127
"Please check the ``root`` path or set `download=True` to download it"
128128
)
129129
self._text = os.path.join(self._path, self._folder_text, self._file_text)
130-
131130
with open(self._text, "r") as text:
132-
walker = csv.reader(text, delimiter="\n")
131+
walker = csv.reader(text)
133132
self._walker = list(walker)
134133

135134
def __getitem__(self, n: int) -> Tuple[Tensor, int, str, str]:

0 commit comments

Comments
 (0)