[pygobject] tests: define correct unittest.skipIf for python 2.6
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] tests: define correct unittest.skipIf for python 2.6
- Date: Wed, 16 Jan 2013 09:48:21 +0000 (UTC)
commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
Author: Dmitry Shachnev <mitya57 ubuntu com>
Date: Wed Jan 16 13:44:42 2013 +0400
tests: define correct unittest.skipIf for python 2.6
tests/runtests.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/runtests.py b/tests/runtests.py
index 1bd1be0..d3a4f47 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]