Installing unittest2 on Python 2.6.

This commit is contained in:
Omer Katz
2014-06-26 11:17:57 +03:00
parent 29309dac9a
commit 67a65a2aa9
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
import sys
sys.path[0:0] = [""]
import unittest
try:
import unittest2 as unittest
except ImportError:
import unittest
import datetime
import pymongo