aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2022-11-03 10:47:38 -0700
committerShuah Khan <[email protected]>2022-12-12 14:13:47 -0700
commitf473dd9488d910aab109e8c6a2e4181125ca322a (patch)
tree611c846a1f883dcf850a081d62a68942ba33fad4 /net/lapb/lapb_timer.c
parentf19dd011d8de6f0c1d20abea5158aa4f5d9cea44 (diff)
kunit: tool: make TestCounts a dataclass
Since we're using Python 3.7+, we can use dataclasses to tersen the code. It also lets us create pre-populated TestCounts() objects and compare them in our unit test. (Before, you could only create empty ones). Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions