Skip to content

Commit 9cd7b49

Browse files
authored
print warnings
1 parent 7359376 commit 9cd7b49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ def test_adjust_timing_fd(self):
245245
new_timing = check_or_adjust_timing_clock(
246246
timing, valid_clocks=[8_000, 80_000_000]
247247
)
248-
assert len(record) == 1
248+
assert len(record) == 1, "; ".join(
249+
[record[i].message.args[0] for i in range(len(record))]
250+
) # print all warnings, if more than one warning is present
249251
assert (
250252
record[0].message.args[0]
251253
== "Adjusted f_clock in BitTimingFd from 160000000 to 80000000"

0 commit comments

Comments
 (0)