Пример #1
0
 def test_is_nested_list_2(self):
     x = [[1, 2, 3], [4, 5, 6]]
     assert is_nested_list(x)
Пример #2
0
 def test_is_nested_list_1(self):
     x = [1, 2, 3]
     assert not is_nested_list(x)