Skip to content

Commit 2ada112

Browse files
committed
tests/cpydiff: Remove types_int_tobytesfloat now that it doesn't fail.
Commit e269cab 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.
1 parent 74ab341 commit 2ada112

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/cpydiff/types_int_tobytesfloat.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)