[lang-ref] ( is_int ) ( python )
def test_is_int():
assert type(5) is int
assert type(5.0) is not int
assert type('5') is not int
assert type(5).__name__ == 'int'
def test_is_int():
assert type(5) is int
assert type(5.0) is not int
assert type('5') is not int
assert type(5).__name__ == 'int'