Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_check_iterable_item_type():
a = [1, 2, 3]
b = [a, a, a]
c = [a, b, 's']
type_a = check_iterable_item_type(a)
type_b = check_iterable_item_type(b)
type_c = check_iterable_item_type(c)
assert type_a is int
assert type_b is list
assert type_c == False
def test_check_iterable_item_type():
a = [1, 2, 3]
b = [a, a, a]
c = [a, b, 's']
type_a = check_iterable_item_type(a)
type_b = check_iterable_item_type(b)
type_c = check_iterable_item_type(c)
assert type_a is int
assert type_b is list
assert type_c == False
def test_check_iterable_item_type():
a = [1, 2, 3]
b = [a, a, a]
c = [a, b, 's']
type_a = check_iterable_item_type(a)
type_b = check_iterable_item_type(b)
type_c = check_iterable_item_type(c)
assert type_a is int
assert type_b is list
assert type_c == False