Skip to content

Commit 4047c81

Browse files
committed
Relax Java object hash assertion
1 parent 2e879d9 commit 4047c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_jimport(self):
3434
assert str(Object)
3535
o = Object()
3636
assert scyjava.jinstance(o, "java.lang.Object")
37-
assert re.match("java.lang.Object@[0-9a-f]{7}", str(o.toString()))
37+
assert re.match("java.lang.Object@[0-9a-f]+", str(o.toString()))
3838

3939
def test_jinstance(self):
4040
"""

0 commit comments

Comments
 (0)