Unittest2 support for Py2.6

This commit is contained in:
2014-03-28 23:57:23 +00:00
parent bac43705a4
commit efc435d1d4
2 changed files with 13 additions and 4 deletions

View File

@@ -1,4 +1,8 @@
import unittest
try:
import unittest2 as unittest
except ImportError:
import unittest
import socket
import threading
import time