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):
29
29
"" ,
30
30
"" ,
31
31
]
32
- pattern = r"(https://github.com/openjdk/jdk/blob/)" \
32
+ pattern = (
33
+ r"(https://github.com/openjdk/jdk/blob/)"
33
34
"[^ ]*(/share/classes/java/lang/Iterable\.java)"
35
+ )
34
36
members_string = re .sub (pattern , r"\1...\2" , "" .join (members ))
35
37
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):
99
99
jv_digits = scyjava .jvm_version ()
100
100
jv = jv_digits [1 ] if jv_digits [0 ] == 1 else jv_digits [0 ]
101
101
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/" )
103
103
assert source .endswith ("/share/classes/java/util/List.java" )
104
104
assert str (jv ) in source
105
105
You can’t perform that action at this time.
0 commit comments