summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderekhiggins <higginsd@gmail.com>2015-03-19 16:27:57 +0000
committerderekhiggins <higginsd@gmail.com>2015-03-19 16:27:57 +0000
commit3cc018b793f40ad286e973d008bb0081fc04903c (patch)
tree2685b1564679e2fb4f721f59550a3dc612eb5fde
parent75b9c9f7bf7569456e5787fe0db3b84d10f78b9c (diff)
downloadsix-3cc018b793f40ad286e973d008bb0081fc04903c.tar.gz
Specify skipif condition as strings
Specifying all conditions as strings is more consistent and will allow tests to pass on pytest < 2.4.
-rw-r--r--test_six.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_six.py b/test_six.py
index f33f882..118ccf6 100644
--- a/test_six.py
+++ b/test_six.py
@@ -390,7 +390,7 @@ def test_dictionary_iterators(monkeypatch):
monkeypatch.undo()
-@py.test.mark.skipif(sys.version_info[:2] < (2, 7),
+@py.test.mark.skipif("sys.version_info[:2] < (2, 7)",
reason="view methods on dictionaries only available on 2.7+")
def test_dictionary_views():
def stock_method_name(viewwhat):