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

Commit 98ee46a

Browse files
committed
Fix tests under python3.
1 parent 45f29a9 commit 98ee46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nnpy/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_basic(self):
1717
poller = nnpy.PollSet((sub, nnpy.POLLIN))
1818
self.assertEqual(len(poller.poll()), 1)
1919
self.assertEqual(poller.poll()[0], 1)
20-
self.assertEqual(sub.recv(), 'FLUB')
20+
self.assertEqual(sub.recv().decode(), 'FLUB')
2121
self.assertEqual(pub.get_statistic(nnpy.STAT_MESSAGES_SENT), 1)
2222
pub.close()
2323
sub.shutdown(sub_conn)

0 commit comments

Comments
 (0)