From 9e67c45053cf330e4122f18f60f9257214231d3d Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sun, 17 Feb 2008 21:12:29 -0800 Subject: [project @ robey@lag.net-20080218051229-xtylb1poe246k2ci] merge patch from Dwayne Litzenberger to fix unit tests on python 2.3. --- tests/test_util.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_util.py') diff --git a/tests/test_util.py b/tests/test_util.py index 05fcc67c..bbfa8593 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -59,6 +59,9 @@ from paramiko import * class UtilTest (unittest.TestCase): + assertTrue = unittest.TestCase.failUnless # for Python 2.3 and below + assertFalse = unittest.TestCase.failIf # for Python 2.3 and below + def setUp(self): pass -- cgit v1.2.3