Skip to content

Commit e610df8

Browse files
committed
Only assert 7 hex digits, not 8
The CI failed when a 7-digit hex code did not match the expectation.
1 parent 755e133 commit e610df8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_basics.py

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

3535
def test_jinstance(self):
3636
"""

0 commit comments

Comments
 (0)