File tree Expand file tree Collapse file tree
wolframclient/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ from __future__ import absolute_import , print_function , unicode_literals
2+
3+ import sys
4+ import unittest
5+
6+ from wolframclient .cli .utils import SimpleCommand
7+ from wolframclient .utils import six
8+ from wolframclient .utils .decorators import to_tuple
9+ from wolframclient .utils .functional import map
10+ from wolframclient .utils .importutils import module_path
11+
12+
13+ @to_tuple
14+ def dependencies ():
15+ yield ("pytz" , "2018.6" )
16+ if not six .JYTHON :
17+ yield ("numpy" , not six .PY2 and "1.15.3" or None )
18+ yield ("pillow" , "7.1.2" )
19+ yield ("requests" , "2.20.0" )
20+ yield ("oauthlib" , "2.1.0" )
21+ yield ("pyzmq" , "17.1.2" )
22+ yield ("pandas" , "1.0.4" )
23+ yield ("unittest-xml-reporting" , None )
24+ if not six .PY2 :
25+ yield ("aiohttp" , "3.6.2" )
26+
27+
28+ class Command (SimpleCommand ):
29+ """ Run test suites from the tests modules.
30+ A list of patterns can be provided to specify the tests to run.
31+ """
32+
33+ dependencies = dependencies ()
Original file line number Diff line number Diff line change 99from wolframclient .utils .functional import map
1010from wolframclient .utils .importutils import module_path
1111
12-
13- # @to_tuple
14- # def dependencies():
15- # yield ("pytz", "2018.6")
16- #
17- # if not six.JYTHON:
18- # yield ("numpy", not six.PY2 and "1.15.3" or None)
19- # yield ("pillow", "7.1.2")
20- # yield ("requests", "2.20.0")
21- # yield ("oauthlib", "2.1.0")
22- # yield ("pyzmq", "17.1.2")
23- # yield ("pandas", "1.0.4")
24- # yield ("unittest-xml-reporting", None)
25- # if not six.PY2:
26- # yield ("aiohttp", "3.6.2")
27-
28-
2912class Command (SimpleCommand ):
3013 """ Run test suites from the tests modules.
3114 A list of patterns can be provided to specify the tests to run.
3215 """
3316
3417 modules = ["wolframclient.tests" ]
3518
36- dependencies = ()
3719
3820 def add_arguments (self , parser ):
3921 parser .add_argument (
You can’t perform that action at this time.
0 commit comments