Lichen

Changeset

923:d5f80f46d267
5 months ago Paul Boddie raw files shortlog changelog graph Fixed integer instance tests. int-as-function
tests/identity.py (file)
     1.1 --- a/tests/identity.py	Wed Jun 23 01:17:14 2021 +0200
     1.2 +++ b/tests/identity.py	Wed Jun 23 01:52:42 2021 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  print isinstance("string", string)  # True
     1.5 -print isinstance("string", int)     # False
     1.6 -print isinstance(123, int)          # True
     1.7 +print isinstance("string", integer) # False
     1.8 +print isinstance(123, integer)      # True
     1.9  print isinstance(123, string)       # False
    1.10  print
    1.11