mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-29 14:19:25 +01:00
Fix tests for Python 2.6 (broken by 0a9d6469f0
).
This commit is contained in:
parent
ba9938b735
commit
7569b613ff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user