summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@ubuntu.com>2013-01-16 13:44:42 +0400
committerMartin Pitt <martinpitt@gnome.org>2013-01-16 10:48:10 +0100
commit45b7975d0a3d78f01f1112ae7b3f4208f15694d8 (patch)
tree197b9d8dd974bba997dc3529f11a3a1947850974 /tests
parent4706cd686ea1b25260c9ecc77abd324d6e4cf505 (diff)
downloadpygobject-45b7975d0a3d78f01f1112ae7b3f4208f15694d8.tar.gz
tests: define correct unittest.skipIf for python 2.6
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 1bd1be0e..d3a4f477 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -23,7 +23,7 @@ if sys.version_info[:2] == (2, 6):
sys.stderr.write('[expected failure] ')
return lambda obj: obj
- unittest.skipIf = skipUnless
+ unittest.skipIf = skipIf
def assertGreater(self, a, b, msg=None):
if not a > b: