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