Skip to content

Commit

Permalink
Update test_pcan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bggardner authored Dec 1, 2024
1 parent 6b6de04 commit 269c49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_pcan.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_bus_creation(self) -> None:

def test_bus_creation_state_error(self) -> None:
with self.assertRaises(ValueError):
can.Bus(interface="pcan", state=BusState.ERROR)
can.Bus(interface="pcan", state=BusState.STOPPED)

@parameterized.expand([("f_clock", 80_000_000), ("f_clock_mhz", 80)])
def test_bus_creation_fd(self, clock_param: str, clock_val: int) -> None:
Expand Down

0 comments on commit 269c49b

Please sign in to comment.