Skip to content

[stdlib] Improve tests for abs, divmod, round free functions #2679

@laszlokindrat

Description

@laszlokindrat

These delegate to dunder methods, which should be tested separately for each structs that implement them. However, we do need a few basic tests to ensure that the free functions do work (e.g. so we don't accidentally rename them).

See comment: 65f0e5b#diff-2812447c50533870693b58783ccb2c24de6d8d3083372eb17084dbe369eb87a6R43-R45

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersmojoIssues that are related to mojomojo-repoTag all issues with this label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions