mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-12 20:25:12 -05:00
fix the test for calculate_bank
There shouldn't be any exception thrown by calculate_bank since it was changed some time ago.
This commit is contained in:
@@ -119,8 +119,6 @@ class TestCram(unittest.TestCase):
|
||||
self.failUnless(calculate_bank(0x8000) == 2)
|
||||
self.failUnless(calculate_bank("0x9000") == 2)
|
||||
self.failUnless(calculate_bank(0) == 0)
|
||||
for address in [0x4000, 0x5000, 0x6000, 0x7000]:
|
||||
self.assertRaises(Exception, calculate_bank, address)
|
||||
|
||||
def test_calculate_pointer(self):
|
||||
# for offset <= 0x4000
|
||||
|
||||
Reference in New Issue
Block a user