Skip to content
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

Fixed test failure with cache off #18405

Merged
merged 1 commit into from
Jan 25, 2020
Merged

Conversation

Smit-create
Copy link
Member

Fixed test failure with cache off

References to other Issues or PRs

Fixes #18104

Brief description of what is fixed or changed

Other comments

Release Notes

  • physics.vector
    • Fixed test failure for test_dyadic with cache off

@sympy-bot
Copy link

sympy-bot commented Jan 20, 2020

Hi, I am the SymPy bot (v149). I'm here to help you write a release notes entry. Please read the guide on how to write release notes.

Your release notes are in good order.

Here is what the release notes will look like:

  • physics.vector

This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.6.

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.

<!-- Your title above should be a short description of what
was changed. Do not include the issue number in the title. -->
Fixed test failure with cache off
#### References to other Issues or PRs
<!-- If this pull request fixes an issue, write "Fixes #NNNN" in that exact
format, e.g. "Fixes #1234" (see
https://tinyurl.com/auto-closing for more information). Also, please
write a comment on that issue linking back to this pull request once it is
open. -->
Fixes #18104

#### Brief description of what is fixed or changed


#### Other comments


#### Release Notes

<!-- Write the release notes for this release below. See
https://github.com/sympy/sympy/wiki/Writing-Release-Notes for more information
on how to write release notes. The bot will check your release notes
automatically to see if they are formatted correctly. -->

<!-- BEGIN RELEASE NOTES -->
* physics.vector
  * Fixed test failure for test_dyadic with cache off
<!-- END RELEASE NOTES -->

Update

The release notes on the wiki have been updated.

@codecov
Copy link

codecov bot commented Jan 20, 2020

Codecov Report

Merging #18405 into master will increase coverage by 0.017%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##            master   #18405       +/-   ##
============================================
+ Coverage   75.292%   75.31%   +0.017%     
============================================
  Files          633      633               
  Lines       166948   166948               
  Branches     39397    39397               
============================================
+ Hits        125700   125729       +29     
+ Misses       35713    35687       -26     
+ Partials      5535     5532        -3

@oscarbenjamin
Copy link
Contributor

Have you identified the cause of the failure? I think it would be better to fix that than change the test.

Or at least a new issue should be opened showing the code that behaves differently depending on whether the cache is used.

@oscarbenjamin
Copy link
Contributor

I think this can be merged if a new issue is opened showing how to reproduce the cache-dependent failure.

@Smit-create
Copy link
Member Author

Yes Surely, I would look to find the failure and open an issue.

@Smit-create
Copy link
Member Author

I have opened an issue #18423 related to this.

@Smit-create
Copy link
Member Author

@oscarbenjamin Is this ready to merge now?

@oscarbenjamin
Copy link
Contributor

Looks good

@oscarbenjamin oscarbenjamin merged commit 1670f6a into sympy:master Jan 25, 2020
@Smit-create Smit-create deleted the 18104 branch January 26, 2020 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix test failure for physics.vector.Dyadic with the cache off.
3 participants