MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / test_is_iterable

Method test_is_iterable

functional/test/test_functional.py:39–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 self.assertListEqual(seq_0, seq_1)
38
39 def test_is_iterable(self):
40 self.assertFalse(is_iterable([]))
41 self.assertTrue(is_iterable(iter([1, 2])))
42
43 def test_constructor(self):
44 self.assertRaises(TypeError, lambda: Sequence(1))

Callers

nothing calls this directly

Calls 1

is_iterableFunction · 0.85

Tested by

no test coverage detected