Skip to content

Commit

Permalink
@ocp781 test_direct_api.py-> test hash(empty) returns zero (modified)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegenstein authored Jan 11, 2025
1 parent 65f37ab commit 42261ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_direct_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3559,7 +3559,7 @@ def test_empty_shape(self):
with self.assertRaises(ValueError):
empty.geom_type
self.assertIs(empty, empty.fix())
self.assertEqual(empty.hash_code(), 0)
self.assertEqual(hash(empty), 0)
self.assertFalse(empty.is_same(Solid()))
self.assertFalse(empty.is_equal(Solid()))
self.assertTrue(empty.is_valid())
Expand Down

0 comments on commit 42261ca

Please sign in to comment.