From d7afd2645eea9fa7b2506a32205071ee8f9623dd Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Wed, 6 Jan 2021 23:58:42 +0100 Subject: [PATCH] changed assert statement to self.assertTrue(). --- tests/test_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_proto.py b/tests/test_proto.py index 66e383c..8031222 100644 --- a/tests/test_proto.py +++ b/tests/test_proto.py @@ -17,7 +17,7 @@ class TestRandomRequestId(TestCase): def _test_value(self, request_id: LittleEndianSignedInt32): """Tests the value of a request id.""" - assert 0 <= request_id <= LittleEndianSignedInt32.MAX + self.assertTrue(0 <= request_id <= LittleEndianSignedInt32.MAX) def _test_request_id(self, request_id: LittleEndianSignedInt32): """Tests a request id."""