Some files don't have tests, but more likely is that the tests are in another file. In this case, it looks like there is test_matrix_exprs.py.
In general, if you make a change to a file in a submodule, like sympy.matrices, I would recommend running the tests for the whole submodule, and any other submodules that are affected by that submodule, to be sure that nothing is broken. matexpr.py contains the common code for all the matrix expressions module, so if you make a change to it you need to run all the matrix expressions tests. To be really sure, you have to run the whole test suite, but that takes a while and Travis does it anyway, so it's generally not necessary to do it locally unless you really want to be sure, or if your change is to the core. Also don't forget the code quality tests (./bin/test quality) and the doctests (./bin/doctest). Aaron Meurer On Mon, Mar 20, 2017 at 11:15 AM, Vedarth Sharma <[email protected]> wrote: > I noticed that some files like matexpr.py do not have their test files. So I > was wondering why is that so? And how are we supposed to run tests on them? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/f96897dc-a63f-423f-8ed5-167a46f02b37%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAKgW%3D6J-H_2dp4VK610DQ0jzurquMH%3DMOjd61Ba%3DTVZk1CRAfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
