diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-03-01 22:31:20 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-03-01 22:31:20 -0600 |
commit | 641f3dafbf5529f941d988a5ac746b578108ed4b (patch) | |
tree | a1927f8eb6ed639896a974f50e4209c64be47471 /vba.py | |
parent | e62461c86b202a4ec9f870bb652a5fabfbb27987 (diff) |
vba - run without unit tests
original-commit-id: 3255093451d5828dd3e2b3a0132858a296ee4777
Diffstat (limited to 'vba.py')
-rw-r--r-- | vba.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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() |