aboutsummaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_markers.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources/tests/test_markers.py')
-rw-r--r--pkg_resources/tests/test_markers.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg_resources/tests/test_markers.py b/pkg_resources/tests/test_markers.py
new file mode 100644
index 0000000..15a3b49
--- /dev/null
+++ b/pkg_resources/tests/test_markers.py
@@ -0,0 +1,8 @@
+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