mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
vba - run without unit tests
This commit is contained in:
parent
c2932b0490
commit
3255093451
@ -815,7 +815,11 @@ class crystal:
|
|||||||
set_memory(memory)
|
set_memory(memory)
|
||||||
|
|
||||||
class TestEmulator(unittest.TestCase):
|
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):
|
def setUp(self):
|
||||||
load_rom()
|
load_rom()
|
||||||
|
Loading…
Reference in New Issue
Block a user