(self)
| 229 | self.assertEqual(fi.fileno(), -1) |
| 230 | |
| 231 | def test_invalid_opening_mode(self): |
| 232 | for mode in ('w', 'rU', 'U'): |
| 233 | with self.subTest(mode=mode): |
| 234 | with self.assertRaises(ValueError): |
| 235 | FileInput(mode=mode) |
| 236 | |
| 237 | def test_stdin_binary_mode(self): |
| 238 | with mock.patch('sys.stdin') as m_stdin: |
nothing calls this directly
no test coverage detected