mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
Restored ommitted TypeError check
This commit is contained in:
@@ -69,6 +69,10 @@ def test_versions(
|
|||||||
assert versions.latest() == expect_last
|
assert versions.latest() == expect_last
|
||||||
assert bool(versions) == expect_bool
|
assert bool(versions) == expect_bool
|
||||||
|
|
||||||
|
with pytest.raises(TypeError) as pytest_wrapped_e:
|
||||||
|
format(versions, "x")
|
||||||
|
assert pytest_wrapped_e.type == TypeError
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def spec_regex() -> re.Pattern:
|
def spec_regex() -> re.Pattern:
|
||||||
|
|||||||
Reference in New Issue
Block a user