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

Method test_bad_eq_version_check

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

Source from the content-addressed store, hash-verified

55 )
56
57 def test_bad_eq_version_check(self) -> None:
58 # Act
59 actual = _run_pytest("""
60 [case abc]
61 s: str
62 [out version==3.7]
63 abc
64 """)
65
66 # Assert
67 assert (
68 "version==3.7 always false since minimum runtime version is (3, 10)" in actual.stdout
69 )

Callers

nothing calls this directly

Calls 1

_run_pytestFunction · 0.85

Tested by

no test coverage detected