Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

Python 3.7 (and 3.8 just around the corner) #985

Open
@jayvdb

Description

@jayvdb

I've run some tests against Python 3.7, with 113 falures, but a large percentage of the failures are repeated differences only in the expected exception messages, such as

- <class 'TypeError'> : must be str, not type
+ <class 'TypeError'> : can only concatenate str (not "type") to str

That one is really common, with minor variation like str->double etc for each native type. Also common:

- <class 'TypeError'> : object() takes no parameters
?                                         -  ^   --
+ <class 'TypeError'> : object() takes no arguments
?                                           ^^  +

Others are like

- <class 'TypeError'> : not all arguments converted during bytes formatting
+ <class 'TypeError'> : %b requires a bytes-like object, or an object that implements __bytes__, not 'int'

I think it would be useful to have the code or test suite handle those differences, so that the real errors stand out more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions