def test_integer(): w1 = W_Integer(5) assert w1.value == 5 # W_Integer objects cannot have custom attributes, # so getvalue() returns None. assert w1.getvalue('abc') is None
def test_integer(): w1 = W_Integer(5) assert w1.value == 5 # W_Integer objects cannot have custom attributes, # so getvalue() returns None. assert w1.getvalue('abc') is None