Skip to content

Commit a2b10ca

Browse files
committed
cleanup
1 parent 0f92d60 commit a2b10ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pathlib
44
import sys
55

6-
from dataclasses import dataclass, field
6+
from dataclasses import dataclass
77
from typing import Dict, Optional
88

99
import numpy as np
@@ -303,7 +303,7 @@ class TestAudioStreamInfo:
303303
class TestAudio(TestContainerFile):
304304

305305
stream_infos: Dict[int, TestAudioStreamInfo]
306-
_reference_frames: tuple[torch.Tensor] = field(default_factory=lambda: [])
306+
_reference_frames: tuple[torch.Tensor] = tuple()
307307

308308
# Storing each individual frame is too expensive for audio, because there's
309309
# a massive overhead in the binary format saved by pytorch. Saving all the

0 commit comments

Comments
 (0)