summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-04 16:11:51 -0500
committerBryan Bishop <kanzure@gmail.com>2013-08-04 16:11:51 -0500
commit611c2ecdd05cdb7e4a2726132b12e10b86acc275 (patch)
treee01dc63a281679af8b436c734428a2da4b54d3c9
parenta1bfc404cbf536b4d52db7792847613bfd050714 (diff)
fix the test for calculate_bank
There shouldn't be any exception thrown by calculate_bank since it was changed some time ago.
-rw-r--r--tests/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 79af902..3b77d41 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -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