format src/openpower/decoder/isa/test_mem.py
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 25 Sep 2023 21:41:49 +0000 (14:41 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 26 Sep 2023 21:11:44 +0000 (22:11 +0100)
src/openpower/decoder/isa/test_mem.py

index 39e7d0b8775565b30a16b8442edb5c73a75e39a1..30f0965d29c34b2be57d5a469a852575b3e09e48 100644 (file)
@@ -8,26 +8,25 @@ from openpower.util import log
 
 
 class TestMem(unittest.TestCase):
-
     def test_mem_align_st(self):
         m = Mem(row_bytes=8, initial_mem={})
         m.st(4, 0x12345678, width=4, swap=False)
         d = m.dump()
-        log ("dict", d)
+        log("dict", d)
         self.assertEqual(d, [(0, 0x1234567800000000)])
 
     def test_mem_misalign_st(self):
         m = Mem(row_bytes=8, initial_mem={}, misaligned_ok=True)
         m.st(3, 0x12345678, width=4, swap=False)
         d = m.dump()
-        log ("dict", d)
+        log("dict", d)
         self.assertEqual(d, [(0, 0x0012345678000000)])
 
     def test_mem_misalign_st_rollover(self):
         m = Mem(row_bytes=8, initial_mem={}, misaligned_ok=True)
         m.st(6, 0x912345678, width=8, swap=False)
         d = m.dump()
-        log ("dict", d)
+        log("dict", d)
         self.assertEqual(d, [(0, 0x5678000000000000),
                              (8, 0x0000000000091234)])