Skip to content

Commit 5fdf360

Browse files
committed
Fix semantic errors in last commit
Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
1 parent fc39e47 commit 5fdf360

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_version_range.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ def test_GemVersionRange_from_native_range_with_pessimistic_operator(self):
159159
}
160160

161161

162-
@pytest.mark.xfail("Not all schemes are implemented yet")
163-
def test_all_schemes_are_tested_for_round_tripping(self):
162+
@pytest.mark.xfail(reason="Not all schemes are implemented yet")
163+
def test_all_schemes_are_tested_for_round_tripping():
164164

165165
for scheme in RANGE_CLASS_BY_SCHEMES:
166166
VERSION_RANGE_TESTS_BY_SCHEME[scheme]
@@ -170,7 +170,7 @@ def test_all_schemes_are_tested_for_round_tripping(self):
170170
"scheme, native_ranges",
171171
VERSION_RANGE_TESTS_BY_SCHEME.items(),
172172
)
173-
def test_from_native_and_from_string_round_trip(self, scheme, native_ranges):
173+
def test_from_native_and_from_string_round_trip(scheme, native_ranges):
174174

175175
range_class = RANGE_CLASS_BY_SCHEMES[scheme]
176176
for rng in native_ranges:

0 commit comments

Comments
 (0)