This does need to be fixed, though. I suspect it's a bug in fastcache. Aaron Meurer
On Mon, Sep 28, 2015 at 7:42 PM, Kate MacInnis <[email protected]> wrote: > Awesome. That fixes all 7 errors in physics/vector and vector. So in 3.4 > it works with or without fastcache, in 3.5 it works only with fastcache. > > The only other problem I got was in sympify, where the expected error for > "lambda *args: args" changes from a SyntaxError to a TypeError, because of > the changes to sequence unpacking in 3.5. So that's a simple fix. > > On Monday, September 28, 2015 at 7:15:12 PM UTC-5, Aaron Meurer wrote: >> >> I think this might have to do with fastcache. If I install it, the >> test passes, but if I remove it, it fails. >> >> Aaron Meurer >> >> On Mon, Sep 28, 2015 at 6:17 PM, Kate MacInnis <[email protected]> wrote: >> > Alright, I might try to delve into the test runner then. I'm running >> > this >> > on Python 3.5, and there are several oddities, including an error that >> > interrupts the test running process if you run `test("vector")` but not >> > `test('sympy/physics/vector/tests/test_functions')` -- but if you >> > comment >> > out the entire file sympy/physics/vector/tests/test_functions.py, then >> > `test("vector")` completes. >> > >> > >> > >> > On Monday, September 28, 2015 at 3:44:50 PM UTC-5, Aaron Meurer wrote: >> >> >> >> I think that should work. Usually when a test fails, I open the file >> >> and take a look at it, and run the code manually if I need to, but the >> >> test runner doesn't do anything more than just import the modules and >> >> run all the functions that start with "test_". >> >> >> >> Aaron Meurer >> >> >> >> On Mon, Sep 28, 2015 at 3:31 PM, Kate MacInnis <[email protected]> >> >> wrote: >> >> > I just want to make sure I understand how testing is supposed to >> >> > work, >> >> > before I start going through the code looking for the source of (what >> >> > I >> >> > think is) weirdness. >> >> > >> >> > If I run `sympy.test('test_frame')` and get: >> >> > >> >> > sympy/physics/vector/tests/test_frame.py[4] .EE. >> >> > [FAIL] >> >> > >> >> > >> >> > >> >> > _____________________________________________________________________________________ >> >> > _______________ sympy/physics/vector/tests/test_frame.py:test_ang_vel >> >> > _______________ >> >> > File >> >> > >> >> > "/users/kate/devstuff/sympy/sympy/physics/vector/tests/test_frame.py", >> >> > line >> >> > 65, in test_ang_vel >> >> > ... >> >> > >> >> > >> >> > then I should be able to do >> >> >>>> from sympy.physics.vector.tests.test_frame import test_ang_vel >> >> >>>> test_ang_vel() >> >> > >> >> > and get the same error, right? Or is that not what is supposed to >> >> > happen? >> >> > >> >> > -- >> >> > 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 http://groups.google.com/group/sympy. >> >> > To view this discussion on the web visit >> >> > >> >> > >> >> > https://groups.google.com/d/msgid/sympy/70260765-bde6-424f-9cb1-1b813f6ef671%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 http://groups.google.com/group/sympy. >> > To view this discussion on the web visit >> > >> > https://groups.google.com/d/msgid/sympy/1c016950-a16f-46df-875d-6b4fa229b86f%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 http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/a500f9f0-aeb8-4619-af7d-ec733b078ff0%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 http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BQQYUbXGi1%3DLADgp-SPmrYvxDj5NgzH-iQZmV_FsEXrw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
