Sign in
◑
Theme
gdch-oss
/
third_party
/
092ef22af1fa4d52fc0f956bfa691c2d9244cb47
/
.
/
pkg_resources
/
tests
/
test_markers.py
blob: 15a3b499a6038cef16024ee8519a342acd22ba9b [
file
]
import
mock
from
pkg_resources
import
evaluate_marker
@mock
.
patch
(
'platform.python_version'
,
return_value
=
'2.7.10'
)
def
test_ordering
(
python_version_mock
):
assert
evaluate_marker
(
"python_full_version > '2.7.3'"
)
is
True