Skip to content

TST: testing not catching bad escape sequences in doc strings #11335

@jklymak

Description

@jklymak

Bug report

Doc strings like

        """
        Initialize the artist inspector with an `Artist` or an iterable of
        `Artist`\s.  If an iterable is used, we assume it is a homogeneous
        sequence (all `Artists` are of the same type) and it is your
        responsibility to make sure this is so.
        """

Cause SyntaxError: invalid escape sequence \s on my machine. Somehow they aren't crashing the test suite?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions