1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-01 03:41:31 +00:00

Fix assertion

This commit is contained in:
Mike Naberezny 2014-01-25 20:39:44 -08:00
parent c483450157
commit 2662da65cf

View File

@ -31,7 +31,7 @@ class HexdumpLoaderTests(unittest.TestCase):
self.fail()
except ValueError as exc:
msg = 'Start address was not found in data'
self.assertTrue(str(exc).startswith('Start address'))
self.assertEqual(msg, str(exc))
def test_raises_when_start_address_is_invalid(self):
text = 'oops: aa bb cc'