tests: remove unused _TestIntegerValue.test_create_neg
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 22 Nov 2023 17:43:47 +0000 (12:43 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Jan 2024 18:44:19 +0000 (13:44 -0500)
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 <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11409
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/bindings/python/bt2/test_value.py

index 4a9c0a502b184d1b58928c2c77b2ab94a33cb79d..4bd75a2e4760582db6acd097498ace3d39f3e4de 100644 (file)
@@ -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)
This page took 0.025199 seconds and 4 git commands to generate.