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

Enforce sane test values #110

Merged

Conversation

brandonwillard
Copy link
Member

This PR adds a new Scratchpad class that validates the values assigned to it, and this new class is used to check that test values have the correct type as soon as they're set.

Closes #109.

@brandonwillard brandonwillard added the bug Something isn't working label Oct 17, 2020
@brandonwillard brandonwillard self-assigned this Oct 17, 2020
This test simply loaded an old example of pickled data.  It was both extremely
indirect and brittle.  Changes to the code base will eventually invalidate
nearly all of the old classes used, and whatever the exact issue was, it
should've been tested directly.
@brandonwillard brandonwillard merged commit 9f7a1b6 into aesara-devs:master Oct 18, 2020
@brandonwillard brandonwillard deleted the enforce-sane-test-values branch October 18, 2020 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test values can be set to incompatible values
1 participant