-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bring back tests #4512
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
Bring back tests #4512
Conversation
07259d8
to
cc0e681
Compare
6c7b715
to
89206da
Compare
89206da
to
9e99ee3
Compare
@@ -323,6 +325,7 @@ def system(y, t, p): | |||
assert trace["y0"].size > 0 | |||
assert trace["sigma"].size > 0 | |||
|
|||
@pytest.mark.xfail(reason="HalfCauchy was not yet refactored") |
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.
Why "was"? Shouldn't that be "is"?
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 guess you're right 🙃
But for the sake of moving forward I'd like to not rebase/force-push again, unless something else comes up.
@@ -271,7 +272,7 @@ def test_full_adapt_sampling(seed=289586): | |||
L[np.triu_indices_from(L, 1)] = 0.0 | |||
|
|||
with pymc3.Model() as model: | |||
pymc3.MvNormal("a", mu=np.zeros(len(L)), chol=L, shape=len(L)) | |||
pymc3.MvNormal("a", mu=np.zeros(len(L)), chol=L, size=len(L)) |
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.
Do we not support shape
anymore?!
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 PR re-enables large parts of the test suite.
Tests that are very broken are still ignored. Many of them use APIs that were completely removed; others have just too many errors to go in and XFAIL them right now.
One job runs test files that pass without a single XFAIL 🎉
And another job runs those that have some XFAILs.
I also added a config setting for pytest to treat
XPASS
as failures. This way we'll know when things get fixed! For example a lot of tests will turn green as soon asMvNormal
got refactored.