We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e968f1 commit 850ad0aCopy full SHA for 850ad0a
setup.cfg
@@ -26,7 +26,7 @@ zip_safe = False
26
py_modules = odooly
27
tests_require =
28
mock
29
- unittest2==0.6.0
+ unittest2
30
test_suite = unittest2.collector
31
32
setup.py
@@ -1,4 +1,13 @@
1
#!/usr/bin/env python
2
+import sys
3
+
4
from setuptools import setup
5
-setup()
6
+if (3, 0) < sys.version_info < (3, 4):
7
+ # Package 'unittest2' does not discover tests on Python 3.2 and 3.3
8
+ setup(
9
+ tests_require=['mock', 'unittest2py3k'],
10
+ test_suite='unittest2.collector.collector',
11
+ )
12
+else:
13
+ setup()
0 commit comments