-
Notifications
You must be signed in to change notification settings - Fork 19
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
Deprecate bytes startswith and endswith #61
Conversation
…with text attributes in the tests
|
Hmm, I guess |
Deprecated tests for LIKE queries on L{axiom.attributes.bytes}. | ||
""" | ||
def test_startsWith(self): | ||
s = Store() |
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.
s
is unused here (and in the other tests), you can just remove it.
Deprecate startswith/endswith/like/notLike on `attributes.bytes`. LIKE comparisons on SQLite BLOB values do not work as you might expect, and don't work at all if SQLite was compiled with `SQLITE_LIKE_DOESNT_MATCH_BLOBS`.
See issue #60 for why 2 tests where deleted.
Fixes #56.