File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 34
34
35
35
# ------------------------------------------------------------------------------
36
36
37
+ import sys
38
+
37
39
try :
38
40
from setuptools import setup
39
41
except ImportError :
67
69
'Programming Language :: Python :: 3.1' ,
68
70
'Programming Language :: Python :: 3.2' ,
69
71
'Programming Language :: Python :: 3.3' ,
70
- 'Programming Language :: Python :: 3.4' ])
72
+ 'Programming Language :: Python :: 3.4' ],
73
+ tests_require = ['unittest2' ] if sys .version_info < (2 , 7 ) else []
74
+ )
Original file line number Diff line number Diff line change 10
10
from jsonrpclib .config import Config
11
11
12
12
# Standard library
13
- import unittest
13
+ try :
14
+ import unittest2 as unittest
15
+ except ImportError :
16
+ import unittest
14
17
15
18
# ------------------------------------------------------------------------------
16
19
You can’t perform that action at this time.
0 commit comments