Skip to content

Commit 4f06a06

Browse files
author
Benjamin Moody
committed
test_multi_fixed_d: add comments and use assertEqual.
1 parent f2044a9 commit 4f06a06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_record.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,10 @@ def test_multi_fixed_d(self):
778778
smooth_frames=False,
779779
)
780780

781+
# Sample values should match the output of rdsamp -H
781782
np.testing.assert_array_equal(sig, sig_target)
782-
assert record.__eq__(record_named)
783+
# channel_names=[...] should give the same result as channels=[...]
784+
self.assertEqual(record, record_named)
783785

784786
def test_multi_variable_a(self):
785787
"""

0 commit comments

Comments
 (0)