summaryrefslogtreecommitdiff
path: root/test_six.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2014-10-10 10:58:26 -0400
committerBrett Cannon <brett@python.org>2014-10-10 10:58:26 -0400
commit7d22271f5284709f73593ab9c89dfb8b9e888e95 (patch)
tree3f2f8ebc9682eca22a6ff963ef5ab7ee2831bc86 /test_six.py
parente144927cb1ecbeaa8ad7b1fc060731c7b5484e87 (diff)
downloadsix-git-7d22271f5284709f73593ab9c89dfb8b9e888e95.tar.gz
It's skipIf, not skipif
Diffstat (limited to 'test_six.py')
-rw-r--r--test_six.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_six.py b/test_six.py
index 1940b5c..4163520 100644
--- a/test_six.py
+++ b/test_six.py
@@ -389,8 +389,8 @@ def test_dictionary_iterators(monkeypatch):
monkeypatch.undo()
-@py.test.mark.skipIf(sys.version_info[:2] < (2, 7),
- "view methods on dictionaries only available on 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):
"""Given a method suffix like "keys" or "values", return the name