Example #1
0
def test_second():
    assert second(xrange(5)) == 1
    assert second([]) is None
Example #2
0
 def test_second(self):
     assert_equal(second(xrange(5)), 1)
     assert_equal(second([]), None)
Example #3
0
def test_second():
    assert second(xrange(5)) == 1
    assert second([]) is None