diff options
author | Damien George <damien.p.george@gmail.com> | 2018-05-08 17:05:32 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-08 17:05:32 +1000 |
commit | 2ada1124d42a85e056637fc10c0c2764ba96bdd6 (patch) | |
tree | 13f5467d6ad0db18c089d5f9dc5d1c4577630bb1 /py | |
parent | 74ab341d3a1bf3fa5979d8aa5bd390ac0bb319a1 (diff) |
tests/cpydiff: Remove types_int_tobytesfloat now that it doesn't fail.
Commit e269cabe3ed8bed1b7181359febb686edbb748ae added a check that the
first argument to the to_bytes() method is an integer, and now uPy
follows CPython behaviour and raises a TypeError for this test.
Note: CPython checks the argument types before checking the number of
arguments, but uPy does it the other way around, so they give different
exception messages for this test, but still the same type, a TypeError.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions