File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ def test_inspect_members(self):
2929 "" ,
3030 "" ,
3131 ]
32- pattern = r"(https://github.com/openjdk/jdk/blob/)" \
32+ pattern = (
33+ r"(https://github.com/openjdk/jdk/blob/)"
3334 "[^ ]*(/share/classes/java/lang/Iterable\.java)"
35+ )
3436 members_string = re .sub (pattern , r"\1...\2" , "" .join (members ))
3537 assert members_string .split ("\n " ) == expected
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def test_jsource_jdk_class(self):
9999 jv_digits = scyjava .jvm_version ()
100100 jv = jv_digits [1 ] if jv_digits [0 ] == 1 else jv_digits [0 ]
101101 source = scyjava .jsource ("java.util.List" )
102- assert source .startswith (f "https://github.com/openjdk/jdk/blob/" )
102+ assert source .startswith ("https://github.com/openjdk/jdk/blob/" )
103103 assert source .endswith ("/share/classes/java/util/List.java" )
104104 assert str (jv ) in source
105105
You can’t perform that action at this time.
0 commit comments