MCPcopy Index your code
hub / github.com/python/mypy / test_bad_ge_version_check

Method test_bad_ge_version_check

mypy/test/meta/test_parse_data.py:43–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 assert expected in result.stdout
42
43 def test_bad_ge_version_check(self) -> None:
44 # Act
45 actual = _run_pytest("""
46 [case abc]
47 s: str
48 [out version>=3.10]
49 abc
50 """)
51
52 # Assert
53 assert (
54 "version>=3.10 always true since minimum runtime version is (3, 10)" in actual.stdout
55 )
56
57 def test_bad_eq_version_check(self) -> None:
58 # Act

Callers

nothing calls this directly

Calls 1

_run_pytestFunction · 0.85

Tested by

no test coverage detected