Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Fix tests under python3.
Browse files Browse the repository at this point in the history
  • Loading branch information
aballier committed Jun 3, 2017
1 parent 45f29a9 commit 98ee46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnpy/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_basic(self):
poller = nnpy.PollSet((sub, nnpy.POLLIN))
self.assertEqual(len(poller.poll()), 1)
self.assertEqual(poller.poll()[0], 1)
self.assertEqual(sub.recv(), 'FLUB')
self.assertEqual(sub.recv().decode(), 'FLUB')
self.assertEqual(pub.get_statistic(nnpy.STAT_MESSAGES_SENT), 1)
pub.close()
sub.shutdown(sub_conn)
Expand Down

0 comments on commit 98ee46a

Please sign in to comment.