summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-05 16:45:54 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-05 16:45:54 +0000
commitbe8e99c7d4ac4d46069a358436a7036a3066d0a9 (patch)
treefd9de43db5e599d0026dfcad7f28e77d4df5f51a /tests
parenta65c03c6c07fa8b092f7cd8d02c81e9ef8cd4a50 (diff)
downloadmicropython-be8e99c7d4ac4d46069a358436a7036a3066d0a9.tar.gz
micropython-be8e99c7d4ac4d46069a358436a7036a3066d0a9.zip
py: Allow bytes object as argument to some str methods.
This turns failing assertions to type exceptions for things like b"123".find(...). We still don't support operations like this on bytes objects (unlike CPython), but at least it no longer crashes.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions