Skip to content

UnionOfIntervals.__contains__ doctest tests str #26947

@jdemeyer

Description

@jdemeyer

It is documented that the input of __contains__ should be a real number, yet there is this doctest:

            sage: 'a' in A
            False

This will break after #22029.

Since this test is meaningless, it should just be removed.

CC: @JohnCremona

Component: coercion

Author: Jeroen Demeyer

Branch/Commit: 6a8b25b

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/26947

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions