Skip to content

Commit

Permalink
Fix debughelper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikmascherbauer committed Oct 15, 2024
1 parent 6e1b849 commit e6e9816
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_compressed_hub_adr(self):
hub = z_hub.dereference()
hub = hub.cast(SVMUtil.get_uncompressed_type(hub.type))
self.assertFalse(SVMUtil.is_compressed(hub.type))
self.assertEqual(SVMUtil.get_compressed_adr(hub), int(z_hub))
self.assertEqual(SVMUtil.get_compressed_oop(hub), int(z_hub))

hub_str = str(hub)
SVMUtil.prompt_hook()
Expand All @@ -119,7 +119,7 @@ def test_compressed_adr(self):
name = z_name.dereference()
name = name.cast(SVMUtil.get_uncompressed_type(name.type))
self.assertFalse(SVMUtil.is_compressed(name.type))
self.assertEqual(SVMUtil.get_compressed_adr(name), int(z_name))
self.assertEqual(SVMUtil.get_compressed_oop(name), int(z_name))

name_str = str(name)
SVMUtil.prompt_hook()
Expand Down

0 comments on commit e6e9816

Please sign in to comment.