We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8feefd commit d382e55Copy full SHA for d382e55
tests/test_placeholder.py
@@ -51,11 +51,12 @@ def test_substitute_markers(env) -> None:
51
== current_markers["python_version"]
52
== substitute(env, "{markers.python_version}")
53
)
54
- assert (
55
- ".".join(map(str, sys.version_info[:3]))
56
- == current_markers["python_full_version"]
57
- == substitute(env, "{markers.python_full_version}")
58
- )
+ if ("final", 0) == sys.version_info[3:]:
+ assert (
+ ".".join(map(str, sys.version_info[:3]))
+ == current_markers["python_full_version"]
+ == substitute(env, "{markers.python_full_version}")
59
+ )
60
61
with pytest.raises(
62
ValueError, match=re.escape("There is no Python environment marker named 'bob'.")
0 commit comments