(self)
| 112 | sys.stdin = fake_stdin |
| 113 | |
| 114 | def test(self): |
| 115 | # Verify that if sys.stdin has no 'encoding' attribute we do the right |
| 116 | # thing |
| 117 | enc = isp.get_input_encoding() |
| 118 | self.assertEqual(enc, 'ascii') |
| 119 | |
| 120 | def tearDown(self): |
| 121 | sys.stdin = self.old_stdin |
no outgoing calls
no test coverage detected