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:
Bryan Bishop
2013-08-04 16:11:51 -05:00
parent a1bfc404cb
commit 611c2ecdd0

View File

@@ -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