From cbeb7f03e4e9a56147ca730355cd53c183cce601 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 22 Nov 2023 12:43:47 -0500 Subject: [PATCH] tests: remove unused _TestIntegerValue.test_create_neg This test method is unused, since all sub-classes define a test_create_neg method. I confirmed this by: - placing an `assert False` inside it and running the test - comparing the number of tests ran as reported by the unittest runner, before and after the change Change-Id: Ib2bd1cb919c85e6dddc21c0f305cfab8504d06e9 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/11409 Tested-by: jenkins Reviewed-by: Philippe Proulx --- tests/bindings/python/bt2/test_value.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/bindings/python/bt2/test_value.py b/tests/bindings/python/bt2/test_value.py index 4a9c0a50..4bd75a2e 100644 --- a/tests/bindings/python/bt2/test_value.py +++ b/tests/bindings/python/bt2/test_value.py @@ -1228,9 +1228,6 @@ class _TestIntegerValue(_TestNumericValue): def test_create_pos(self): self.assertEqual(self._ip, self._pv) - def test_create_neg(self): - self.assertEqual(self._in, self._nv) - def test_create_from_vint(self): i = self._CLS(self._ip) self.assertEqual(i, self._pv) -- 2.34.1