-
Notifications
You must be signed in to change notification settings - Fork 239
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
Add tests from pyroapi #396
Conversation
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.
LGTM! I just have a nit. Pending further comments from @fritzo .
'test': [ | ||
'flake8', | ||
'pytest>=4.1', | ||
'pyro-api@https://api.github.com/repos/pyro-ppl/pyro-api/tarball/master' |
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'll use this method in funsor as well: pyro-ppl/funsor#267
@@ -0,0 +1,7 @@ | |||
class UnsupportedAPIWarning(Warning): |
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.
Looks great! If this class proves useful, we may want to move it to pyroapi
, maybe calling it a NotImplementedWarning
to match NotImplementedError
.
|
Can we merge this to unblock pyro-ppl/pyro-api#5 ? |
Done! |
Addresses pyro-ppl/pyro-api#2.