Skip to content

_is_empty method doesn't work for all test cases #10

Description

@gmelodie

In the following case, the _is_empty method works unexpectedly

self.start = 1
self.stop = 2
self.step = 2

This issue happens every time that step is absolutely greater than the difference between start and stop in module and the sequence is increasing (start < stop) and step is positive OR decreasing (stop < start) and step is negative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions