rename run_test to run_tst so nosetests3 skips it
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Aug 2021 10:14:24 +0000 (11:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Aug 2021 10:14:24 +0000 (11:14 +0100)
src/nmutil/test/test_clz.py

index 09beb7311363e01e5750d5bf6e4216fc9266c85c..14e34726720bebb2864a2e8f733d273680e14432 100644 (file)
@@ -8,7 +8,7 @@ import random
 
 
 class CLZTestCase(unittest.TestCase):
-    def run_test(self, inputs, width=8):
+    def run_tst(self, inputs, width=8):
 
         m = Module()
 
@@ -34,11 +34,11 @@ class CLZTestCase(unittest.TestCase):
 
     def test_selected(self):
         inputs = [0, 15, 10, 127]
-        self.run_test(iter(inputs), width=8)
+        self.run_tst(iter(inputs), width=8)
 
     def test_non_power_2(self):
         inputs = [0, 128, 512]
-        self.run_test(iter(inputs), width=11)
+        self.run_tst(iter(inputs), width=11)
 
 
 if __name__ == "__main__":