|
| 1 | +diff --git a/master/buildbot/test/unit/www/test_ws.py b/master/buildbot/test/unit/www/test_ws.py |
| 2 | +index 43dfce5a7..21f4b3b5c 100644 |
| 3 | +--- a/master/buildbot/test/unit/www/test_ws.py |
| 4 | ++++ b/master/buildbot/test/unit/www/test_ws.py |
| 5 | +@@ -92,7 +92,7 @@ class WsResource(TestReactorMixin, www.WwwTestMixin, unittest.TestCase): |
| 6 | + { |
| 7 | + "_id": 1, |
| 8 | + "code": 400, |
| 9 | +- "error": "Invalid method argument 'cmd_ping() got an unexpected keyword " |
| 10 | ++ "error": "Invalid method argument 'WsProtocol.cmd_ping() got an unexpected keyword " |
| 11 | + "argument 'foo''", |
| 12 | + }, |
| 13 | + ) |
| 14 | +@@ -106,7 +106,7 @@ class WsResource(TestReactorMixin, www.WwwTestMixin, unittest.TestCase): |
| 15 | + self.proto.sendMessage, |
| 16 | + { |
| 17 | + "id": None, |
| 18 | +- "message": "Invalid method argument 'graphql_cmd_connection_init() got an " |
| 19 | ++ "message": "Invalid method argument 'WsProtocol.graphql_cmd_connection_init() got an " |
| 20 | + "unexpected keyword argument 'foo''", |
| 21 | + "type": "error", |
| 22 | + }, |
| 23 | +diff --git a/master/buildbot/test/__init__.py b/master/buildbot/test/__init__.py |
| 24 | +index 8c8f53823..0f176028a 100644 |
| 25 | +--- a/master/buildbot/test/__init__.py |
| 26 | ++++ b/master/buildbot/test/__init__.py |
| 27 | +@@ -128,3 +128,6 @@ warnings.filterwarnings('ignore', ".*Not importing directory .*/sphinxcontrib: m |
| 28 | + # https://github.com/pypa/setuptools/issues/2086 |
| 29 | + warnings.filterwarnings('ignore', ".*lib2to3 package is deprecated", |
| 30 | + category=PendingDeprecationWarning) |
| 31 | ++ |
| 32 | ++warnings.filterwarnings('ignore', r".*currentThread\(\) is deprecated, use current_thread\(\) instead.*", |
| 33 | ++ category=DeprecationWarning) |
0 commit comments