Tests invoking fileinput.input() when fileinput._state 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 i
(self)
| 592 | self.do_test_call_input() |
| 593 | |
| 594 | def test_state_is_None(self): |
| 595 | """Tests invoking fileinput.input() when fileinput._state is None |
| 596 | Expect it to create and return a new fileinput.FileInput object |
| 597 | with all method parameters passed explicitly to the __init__() |
| 598 | method; also ensure that fileinput._state is set to the returned |
| 599 | instance.""" |
| 600 | fileinput._state = None |
| 601 | self.do_test_call_input() |
| 602 | |
| 603 | def do_test_call_input(self): |
| 604 | """Tests that fileinput.input() creates a new fileinput.FileInput |
nothing calls this directly
no test coverage detected