summaryrefslogtreecommitdiff
path: root/test_six.py
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
commitc6336d7d7795e54a2bc5617585d82f9d12bc9719 (patch)
tree2685b1564679e2fb4f721f59550a3dc612eb5fde /test_six.py
parentb00ed048796721dca963ff9ba954703da60cc085 (diff)
downloadsix-git-c6336d7d7795e54a2bc5617585d82f9d12bc9719.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.
Diffstat (limited to 'test_six.py')
-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):