def test_deep_nested(self): l = [[[[[[[[1, 2, 3]]]]]]]] self.assertEqual(pytest.deep_count(l), 10)
def test_nested_with_empty(self): l = [1, [] ,3] self.assertEqual(pytest.deep_count(l), 3)
def test_nested(self): l = [1, [1, 2, [3, 4]]] self.assertEqual(pytest.deep_count(l), 7)
def test_single_list(self): l = [1, 2, 3] self.assertEqual(pytest.deep_count(l), 3)