Skip to content

Commit c4050c3

Browse files
committed
Fix style.
1 parent 2597974 commit c4050c3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_archive.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,15 @@ def test_wfdb_archive_inline_round_trip():
122122
assert record.p_signal.shape == sig.shape
123123

124124
# Add tolerance to account for loss of precision during archive round-trip
125-
np.testing.assert_allclose(record.p_signal, sig, rtol=1e-2, atol=3e-3)
125+
np.testing.assert_allclose(
126+
record.p_signal, sig, rtol=1e-2, atol=3e-3
127+
)
126128
finally:
127129
# Ensure we close the archive after reading
128-
if hasattr(record, 'wfdb_archive') and record.wfdb_archive is not None:
130+
if (
131+
hasattr(record, 'wfdb_archive')
132+
and record.wfdb_archive is not None
133+
):
129134
record.wfdb_archive.close()
130135

131136

0 commit comments

Comments
 (0)