Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Mar 25, 2022
1 parent c138aed commit 2abd66b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diofant/tests/core/test_arit.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,9 @@ def test_Pow_is_integer():

assert ((-1)**k).is_integer

# issue sympy/sympy#23287
assert (x**2/2).is_integer is None

x = Symbol('x', extended_real=True, integer=False)
assert (x**2).is_integer is None # issue sympy/sympy#8641

Expand Down
1 change: 1 addition & 0 deletions docs/release/notes-0.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ These Sympy issues also were addressed:
* :sympyissue:`18492`: Limit of Piecewise function - NotImplementedError: Don't know how to calculate the mrv
* :sympyissue:`23266`: Regression(?) in 1.10 for limits
* :sympyissue:`7391`: Limits for expressions with undetermined functions give wrong results
* :sympyissue:`23287`: Regression in is_integer for Mul of Pow

0 comments on commit 2abd66b

Please sign in to comment.