def test_type(self):
        rset = event.ResultSet()
        with pytest.raises(NotImplementedError):
            rset.extend([])
        with pytest.raises(NotImplementedError):
            rset.extend(False)
def myfunc(first, second=None, third=Optional(5), fourth=Optional(execute=list)):
            #Equivalent: second = deoption(second, 5)
            if isinstance(second, type(None)):
                second = 5