Fix tests for Python 2.6 (broken by 0a9d6469f0).

This commit is contained in:
Valentin Lorentz 2014-07-12 10:16:51 +02:00
parent ba9938b735
commit 7569b613ff

View File

@ -35,7 +35,7 @@ from supybot.test import SupyTestCase
if sys.version_info >= (2, 7, 0): if sys.version_info >= (2, 7, 0):
skipif = unittest.skipIf skipif = unittest.skipIf
else: else:
skipif = lambda x, y: None skipif = lambda x, y: lambda z:None
try: try:
import mock import mock