'Tests invoking fileinput.input() when fileinput._state is not None
but its _file attribute *is* None.  Expect it to create and return
a new fileinput.FileInput object with all method parameters passed
explicitly to the __init__() method; also ensure that
fileinput._state is set to the returned instance.'

def test_state_is_not_None_and_state_file_is_None(self):

    instance = MockFileInput()
    instance._file = None
    fileinput._state = instance
    self.do_test_call_input()
