Change a test so it works with generics

This commit is contained in:
Dave Halter
2019-08-26 21:53:41 +02:00
parent 8311328a8e
commit 305bfd3a3c

View File

@@ -118,15 +118,15 @@ class D(): pass
class E(): pass
lst = [1]
lst.append(1.0)
lst += [C]
lst += [C()]
s = set(lst)
s.add("")
s += [D]
s += [D()]
lst = list(s)
lst.append({})
lst += [E]
lst += [E()]
##? dict() int() float() str() C D E
#? dict() int() float() str() C() D() E()
lst[0]
# -----------------