-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change callables to instances to allow printing (#30149)
* Change callables to instances to allow printing If I just write these as callable classes, I can stringify them and we can get a decent print of the expected conformance so that the error messages are more informative and I don't need to keep going back to the spec. Also added tests, and expanded the error messages in the test. * Restyled by isort --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
ea0a843
commit 005ab54
Showing
3 changed files
with
183 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.