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
Description
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
Labels
No labels