Skip to content

Commit

Permalink
Merge pull request #1225 from jeremycline/fix-python38-failure
Browse files Browse the repository at this point in the history
Fix a test that is failing on Python 3.8b1
  • Loading branch information
lukebakken committed Jun 11, 2019
2 parents 24e6c9a + af78ada commit f7c1067
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/unit/channel_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,10 +1656,8 @@ def test_rpc_adds_callback(self):

def test_send_method(self):
expectation = [2, 3]
with mock.patch.object(self.obj.connection,
'_send_method') as send_method:
self.obj._send_method(*expectation)
send_method.assert_called_once_with(
self.obj._send_method(*expectation)
self.obj.connection._send_method.assert_called_once_with(
*[self.obj.channel_number] + expectation)

def test_set_state(self):
Expand Down

0 comments on commit f7c1067

Please sign in to comment.