format code removing unused imports
[openpower-isa.git] / src / openpower / decoder / isa / test_caller_mul.py
1 """ Decoder tests
2
3 related bugs:
4
5 *
6 """
7
8 import unittest
9
10 from openpower.test.mul.mul_cases import MulTestCases2Arg, SVP64MAdd
11 from openpower.test.runner import TestRunnerBase
12
13 # writing the test_caller invocation this way makes it work with pytest
14
15
16 class TestMul2Arg(TestRunnerBase):
17 def __init__(self, test):
18 assert test == 'test'
19 super().__init__(MulTestCases2Arg().test_data)
20
21 def test(self):
22 # dummy function to make unittest try to test this class
23 pass
24
25
26 class TestSVP64MAdd(TestRunnerBase):
27 def __init__(self, test):
28 assert test == 'test'
29 super().__init__(SVP64MAdd().test_data)
30
31 def test(self):
32 # dummy function to make unittest try to test this class
33 pass
34
35
36 if __name__ == "__main__":
37 unittest.main()