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

Type error when using an ABC as a spec #13

Closed
mcous opened this issue Mar 17, 2021 · 1 comment
Closed

Type error when using an ABC as a spec #13

mcous opened this issue Mar 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mcous
Copy link
Owner

mcous commented Mar 17, 2021

overview

Creating doubles of abstract interfaces defined using ABC is a great way to use to use decoy, and it works! However, given the way Decoy::create_decoy is typed, mypy throws an error when you try to pass an ABC as spec.

acceptance criteria

  • Passing an ABC as spec does not throw a type error

implementation notes

@mcous
Copy link
Owner Author

mcous commented May 30, 2021

Closed by #20

@mcous mcous closed this as completed May 30, 2021
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

No branches or pull requests

1 participant