Testing issue

27 views
Skip to first unread message

yjian...@berkeley.edu

unread,
Mar 19, 2016, 3:54:56 AM3/19/16
to sympy
Hi,

I am new to Sympy and I've been made some fixes to kanes method in mechanics.
I was just wondering how the testing procedure works because when I try to run the code it seems that my changes are not reflected in the code; namely, it's importing the library from "anaconda3/lib/python3.4/site-packages/" instead of where I am making the changes.
Sorry if this might be a foolish question. I've been stuck on it for a while :(

Sartaj Singh

unread,
Mar 19, 2016, 4:55:03 AM3/19/16
to sy...@googlegroups.com

Hi,

You can run tests by running bin/test [directory]. Try adding/updating tests to reflect your changes. If you want to run the code, you will probably need to install the development version. You can do this by running python setup.py develop in the main sympy directory. Also, try sending in a PR we can help you with the tests there.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/dabc7b75-d64b-4192-92c0-e838fb942690%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shekhar Prasad Rajak

unread,
Mar 19, 2016, 4:55:28 AM3/19/16
to sympy
hello ,
You can directly check your changes :
1. go inside your sympy directory.
2. do $ bin/isympy
3. now check your changes by some examples.

you can test your changes using 
$ bin/test

for particular file your can do 
$ bin/test  sympy/module_name/test/test_filename


--
Shekhar Prasad Rajak
for more info 
Reply all
Reply to author
Forward
0 new messages