From 9546d80ef122b4f53b61dc1f3997a2ad70c139bd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 3 Jun 2023 12:45:35 +0100 Subject: [PATCH] import dis overloads naming of modules already in python3, and stops functions from importing --- src/openpower/insndb/{dis.py => disasm.py} | 0 src/openpower/sv/trans/test_pysvp64dis.py | 2 +- src/openpower/sv/trans/test_pysvp64dis_branch.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/openpower/insndb/{dis.py => disasm.py} (100%) diff --git a/src/openpower/insndb/dis.py b/src/openpower/insndb/disasm.py similarity index 100% rename from src/openpower/insndb/dis.py rename to src/openpower/insndb/disasm.py diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index d8af280a..96667dba 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -1,5 +1,5 @@ from openpower.simulator.program import Program -from openpower.insndb.dis import load, dump +from openpower.insndb.disasm import load, dump from openpower.insndb.asm import SVP64Asm from openpower.insndb.types import Database, Style from openpower.decoder.power_enums import find_wiki_dir diff --git a/src/openpower/sv/trans/test_pysvp64dis_branch.py b/src/openpower/sv/trans/test_pysvp64dis_branch.py index 99bb0990..5132c24d 100644 --- a/src/openpower/sv/trans/test_pysvp64dis_branch.py +++ b/src/openpower/sv/trans/test_pysvp64dis_branch.py @@ -1,5 +1,5 @@ from openpower.simulator.program import Program -from openpower.insndb.dis import load, dump +from openpower.insndb.disasm import load, dump from openpower.insndb.asm import SVP64Asm from openpower.insndb.types import Database, Style from openpower.decoder.power_enums import find_wiki_dir -- 2.30.2