Skip to content

Commit

Permalink
fix py3.12 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shulyaka committed Sep 30, 2023
1 parent ea00b6c commit cdfa18a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_send(gw):
gw.send(b"\x23\x11")
assert gw._transport.write.call_count == 1
data = b"\x7E\x00\x02\x23\x7D\x31\xCB"
assert gw._transport.write.called_once_with(data)
gw._transport.write.assert_called_once_with(data)


def test_escape(gw):
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py38, lint, black
envlist = py38, py39, py310, py311, py312, lint, black
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit cdfa18a

Please # to comment.