-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added tests for issue 16735 #19730
Added tests for issue 16735 #19730
Conversation
✅ Hi, I am the SymPy bot (v160). I'm here to help you write a release notes entry. Please read the guide on how to write release notes.
Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it. Click here to see the pull request description that was parsed.
|
@@ -1317,6 +1317,11 @@ def test_issue_14313(): | |||
assert Sum(S.Half**floor(n/2), (n, 1, oo)).is_convergent() | |||
|
|||
|
|||
@XFAIL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed. This is not a test which fails.
sympy/series/tests/test_limitseq.py
Outdated
@@ -125,6 +125,10 @@ def test_issue_10382(): | |||
assert limit_seq(fibonacci(n+1)/fibonacci(n), n) == S.GoldenRatio | |||
|
|||
|
|||
def test_issue_16735(): | |||
assert limit_seq(5**n/factorial(n),n) == 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a space after comma.
@@ -1317,6 +1317,11 @@ def test_issue_14313(): | |||
assert Sum(S.Half**floor(n/2), (n, 1, oo)).is_convergent() | |||
|
|||
|
|||
@XFAIL | |||
def test_issue_16735(): | |||
assert Sum(5**n/gamma(n+1), (n, 1, oo)).is_convergent() is True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be S.true
rather than True
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that S.true issue. When it is True, the test fails and hence I added @XFAIL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review the changes now.
Looks good to me. Once the build passes, this can be merged @jksuom. |
Codecov Report
@@ Coverage Diff @@
## master #19730 +/- ##
=============================================
+ Coverage 71.333% 75.720% +4.386%
=============================================
Files 659 659
Lines 171335 171401 +66
Branches 40416 40437 +21
=============================================
+ Hits 122220 129785 +7565
+ Misses 43300 35967 -7333
+ Partials 5815 5649 -166 |
Thanks, looks good. |
References to other Issues or PRs
Fixes #16735
Brief description of what is fixed or changed
Adds tests to
concrete/tests/test_sums_products.py
andseries/tests/test_limitseq.py
Other comments
Release Notes
NO ENTRY