MCPcopy
hub / github.com/pex-tool/pex / test_cpython_dev_release

Function test_cpython_dev_release

tests/test_pep_508.py:141–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140
141def test_cpython_dev_release():
142 env = MarkerEnvironment(python_full_version="3.10.16+").as_dict()
143 assert evaluate_marker("python_full_version >= '3.10.16'", env)
144 assert evaluate_marker("python_full_version <= '3.10.17'", env)
145 assert evaluate_marker("python_full_version == '3.10.16'", env)
146 assert not evaluate_marker("python_full_version === '3.10.16'", env)

Callers

nothing calls this directly

Calls 3

MarkerEnvironmentClass · 0.90
evaluate_markerFunction · 0.85
as_dictMethod · 0.45

Tested by

no test coverage detected