mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-28 20:36:38 -05:00
vba - run without unit tests
original-commit-id: 3255093451d5828dd3e2b3a0132858a296ee4777
This commit is contained in:
6
vba.py
6
vba.py
@@ -815,7 +815,11 @@ class crystal:
|
||||
set_memory(memory)
|
||||
|
||||
class TestEmulator(unittest.TestCase):
|
||||
state = load_state("cheating-12")
|
||||
try:
|
||||
state = load_state("cheating-12")
|
||||
except:
|
||||
if "__name__" == "__main__":
|
||||
raise Exception("failed to setup unit tests because no save state found")
|
||||
|
||||
def setUp(self):
|
||||
load_rom()
|
||||
|
||||
Reference in New Issue
Block a user