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

Fix typo causing cache hash serialization test to not test the right thing. #614

Closed
wants to merge 7 commits into from

Conversation

gabbard
Copy link
Member

@gabbard gabbard commented Jan 13, 2020

This fixes a typo in a test from #489 where we tested serialization of a class object rather than of an instance of that class.

The test passed both before and after this fix.

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

If an item doesn't apply to your pull request, check it anyway to make it apparent that there's nothing to do.

  • Added tests for changed code.
  • New features have been added to our Hypothesis testing strategy.
  • Changes or additions to public APIs are reflected in our type stubs (files ending in .pyi).
    • ...and used in the stub test file tests/typing_example.py.
  • Updated documentation for changed code.
    • New functions/classes have to be added to docs/api.rst by hand.
    • Changes to the signature of @attr.s() have to be added by hand too.
    • Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.
  • Documentation in .rst files is written using semantic newlines.
  • Changes (and possible deprecations) have news fragments in changelog.d.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Ryan Gabbard and others added 7 commits October 31, 2018 17:04
Sync up to main attrs repository
Sync with main repository

Co-authored-by: Serhii A <[email protected]>
Co-authored-by: Hynek Schlawack <[email protected]>
Co-authored-by: David Euresti <[email protected]>
Co-authored-by: Joshua Oreman <[email protected]>
Co-authored-by: Juan Pedro Fisanotti <[email protected]>
Co-authored-by: wouter bolsterlee <[email protected]>
Co-authored-by: Kurt Rose <[email protected]>
Co-authored-by: Julian Berman <[email protected]>
Co-authored-by: John Belmonte <[email protected]>
Co-authored-by: Bruno Oliveira <[email protected]>
Co-authored-by: Hlynur Freyr Jónsson <[email protected]>
Co-authored-by: Philippe Ombredanne <[email protected]>
Co-authored-by: Matt Bullock <[email protected]>
Co-authored-by: Tim Gates <[email protected]>
Co-authored-by: Kyle Altendorf <[email protected]>
Co-authored-by: Paul Ganssle <[email protected]>
The typo caused it to test the serialization of a class object,
not the relevant instance object.
@hynek
Copy link
Member

hynek commented Feb 1, 2020

Pretty sure this will be obsoleted by #620?

@gabbard
Copy link
Member Author

gabbard commented Feb 1, 2020

@hynek : Yes - this is superseded by #620. Closing.

@gabbard gabbard closed this Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants