[Tutor] SciPy Optimize-like calling function as string

2017-02-18 Thread Joseph Slater
I'm trying to use the scipy.optimize code as an example to be able to avoid using *eval* to call a function named by a string. The following appears to be the code used to do this: # from scipy optimize > def wrap_function(function, args): > ncalls = [0] > if function is None: >

[Tutor] nosetests on travis-ci.org

2016-10-31 Thread Joseph Slater
I've created a relatively simple package, partly for utility, but partly for self-education. The port installs and works fine on pypi, but I need to know how to run automated tests for my other projects. Specifically, nose tests works at my command line, but fail on travis-ci . I have no und