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
Need to correct error message for Bytes checker #63
Comments
But isn't this code handling invalid values, or am I wrong? Line 629 in 0f56dee
|
I put to |
I did the same and got: In [1]: base.Bytes().check(b'test')
Out[1]: 'test'
In [2]: base.Bytes().check('test')
...
DataError: Value is not bytes But I did import as |
import trafaret as t
t.__VERSION__
(2, 0, '0-alpha.04') |
if u wanna install alpha version u can use that:
|
Yep, |
thx :) |
In my opinion we need to change
string
tobytes string
.The text was updated successfully, but these errors were encountered: