def test_normalize_base(): for i in [1, long(1), 1.1, '1', slice(1, 2, 3)]: assert normalize_token(i) is i