From 051edd0f0ae8eeabbf15a81d4c05c124bff5ead7 Mon Sep 17 00:00:00 2001 From: "Amber Brown (HawkOwl)" Date: Wed, 16 Nov 2016 00:04:19 +1100 Subject: [PATCH] fix some unrelated flake8 errors --- autobahn/asyncio/rawsocket.py | 1 + autobahn/asyncio/test/test_asyncio_rawsocket.py | 1 + 2 files changed, 2 insertions(+) diff --git a/autobahn/asyncio/rawsocket.py b/autobahn/asyncio/rawsocket.py index 4831fadb..507884e8 100644 --- a/autobahn/asyncio/rawsocket.py +++ b/autobahn/asyncio/rawsocket.py @@ -205,6 +205,7 @@ class RawSocketProtocol(PrefixProtocol): if data: PrefixProtocol.data_received(self, data) + ERR_SERIALIZER_UNSUPPORTED = 1 ERRMAP = { diff --git a/autobahn/asyncio/test/test_asyncio_rawsocket.py b/autobahn/asyncio/test/test_asyncio_rawsocket.py index 1cde465f..d8f05cea 100644 --- a/autobahn/asyncio/test/test_asyncio_rawsocket.py +++ b/autobahn/asyncio/test/test_asyncio_rawsocket.py @@ -215,6 +215,7 @@ class Test(TestCase): self.assertTrue(server.onMessage.called) self.assertTrue(isinstance(server.onMessage.call_args[0][0], message.Abort)) + if __name__ == "__main__": # import sys;sys.argv = ['', 'Test.test_prefix'] main()