Skip to content

Do not use ZeroDivisionError in tests for unrelated things #119989

Closed as not planned
@sobolevn

Description

@sobolevn

Feature or enhancement

Refs #119066

I'm a little horrified at how often we use ZeroDivisionError in random tests that have nothing to do with arithmetic, but that's another story ...

Probably, most of them should be converted to some custom exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions