summaryrefslogtreecommitdiff
path: root/tests/basics/boundmeth1.py
AgeCommit message (Collapse)Author
2025-10-04all: Replace legacy name with MicroPython and MPy as applicable.Angus Gratton
With the aim of getting consistency, and removing the need to learn an additional term, replace uses of uPy/uPython with MPy/MicroPython. Rule of thumb was to use "MPy" abbreviation where "CPy" is used nearby, but the full word MicroPython otherwise. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-10-13py/objboundmeth: Optimise check for types in binary_op.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2023-10-13tests/basics/boundmeth1.py: Add tests for bound method equality/hash.Ned Konz
This commit adds tests for bound method comparison and hashing to support the changes in the previous commit. Signed-off-by: Ned Konz <ned@productcreationstudio.com>
2017-01-20tests/basics: Add test for assignment of attribute to bound method.Damien George
2015-03-03tests: Add tests for boundmeth; and bignum cmp, unary, float, error.Damien George