Permalink
Browse files

Using unittest2 instead of unittest for Python 2.6 compat

  • Loading branch information...
joonty committed Dec 21, 2012
1 parent a2f9cfb commit dd6df37d4fc07aff5676521d85a32ece38c78d60
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
import vdebug.breakpoint
import vdebug.util
import base64
View
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
import vdebug.dbgp
from mock import MagicMock, patch
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
import vdebug.dbgp
class SocketMockError():
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
import vdebug.dbgp
import xml.etree.ElementTree as ET
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
import vdebug.dbgp
import xml
from mock import Mock
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
from vdebug.opts import Options,OptionsError
class OptionsTest(unittest.TestCase):
@@ -1,7 +1,7 @@
if __name__ == "__main__":
import sys
sys.path.append('../plugin/python/')
-import unittest
+import unittest2 as unittest
""" Mock vim import """
import vdebug.opts
from vdebug.util import FilePath,FilePathError

0 comments on commit dd6df37

Please sign in to comment.