Cannot understand the reason of failing 3 tests

27 views
Skip to first unread message

GAGANDEEP SINGH

unread,
Jun 30, 2018, 9:17:18 AM6/30/18
to sympy
I have made a PR https://github.com/sympy/sympy/pull/14851 and the following is regarding the same.
I am unable to understand the reason for the failing of three tests:
__________________________________ sympy/solvers/tests/test_solvers.py:test_solve_for_functions_derivatives ___________________________________
  File "/home/gagandeep/sympy/sympy/solvers/tests/test_solvers.py", line 489, in test_solve_for_functions_derivatives
    x: (a22*b1 - a12*b2)/(a11*a22 - a12*a21) }
AssertionError
_______________________________________________________________________________________________________________________________________________
_________________________________________ sympy/solvers/tests/test_solvers.py:test_issue_5849_matrix __________________________________________
  File "/home/gagandeep/sympy/sympy/solvers/tests/test_solvers.py", line 1212, in test_issue_5849_matrix
    I4: I3 - I5}
AssertionError
_______________________________________________________________________________________________________________________________________________
__________________________________ sympy/solvers/tests/test_solvers.py:test_issues_6819_6820_6821_6248_8692 ___________________________________
  File "/home/gagandeep/sympy/sympy/solvers/tests/test_solvers.py", line 1484, in test_issues_6819_6820_6821_6248_8692
    {re(x): 1, x: 1 + 2*I, im(x): 2}]
AssertionError

I have tested each of the above three tests in a local program with my changes and the outputs obtained were matching with desired outputs as mentioned in test_solvers.py.
Please help so that I can finish up fixing the issue. :-)
Reply all
Reply to author
Forward
0 new messages