mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #7435: Remove duplicate int/long tests, and other
references to long in py3k. Patch provided by flox.
This commit is contained in:
parent
c39aad7c27
commit
5c2db37c20
14 changed files with 64 additions and 607 deletions
|
@ -1041,9 +1041,6 @@ class REX_five(object):
|
|||
class MyInt(int):
|
||||
sample = 1
|
||||
|
||||
class MyLong(int):
|
||||
sample = 1
|
||||
|
||||
class MyFloat(float):
|
||||
sample = 1.0
|
||||
|
||||
|
@ -1065,7 +1062,7 @@ class MyList(list):
|
|||
class MyDict(dict):
|
||||
sample = {"a": 1, "b": 2}
|
||||
|
||||
myclasses = [MyInt, MyLong, MyFloat,
|
||||
myclasses = [MyInt, MyFloat,
|
||||
MyComplex,
|
||||
MyStr, MyUnicode,
|
||||
MyTuple, MyList, MyDict]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue