Skip to content

Commit

Permalink
Add regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Aug 19, 2021
1 parent 74a0994 commit eb99d87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diofant/tests/concrete/test_sums_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ def test_Sum_interface():
# issue sympy/sympy#21888
pytest.raises(ValueError, lambda: Sum(-1, (x, I, 5)))

# issue sympy/sympy#19745
pytest.raises(ValueError, lambda: Sum(x, (x, 1, Rational(3, 2))))


def test_eval_derivative():
assert Sum(x, (x, 1, 2)).diff(x) == 0
Expand Down
2 changes: 2 additions & 0 deletions docs/release/notes-0.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,5 @@ These Sympy issues also were addressed:
* :sympyissue:`21890`: RecursionError and TypeError in nonlinsolve
* :sympyissue:`21888`: TypeError raised for evalf containing summations
* :sympyissue:`5822`: What should summation() do with non-integer limits?
* :sympyissue:`19745`: Weird value of a sum
* :sympyissue:`9358`: summation: Wrong out for non-integral range

0 comments on commit eb99d87

Please sign in to comment.