()
| 97 | |
| 98 | |
| 99 | def test_get_input_encoding(): |
| 100 | encoding = isp.get_input_encoding() |
| 101 | nt.assert_true(isinstance(encoding, str)) |
| 102 | # simple-minded check that at least encoding a simple string works with the |
| 103 | # encoding we got. |
| 104 | nt.assert_equal(u'test'.encode(encoding), b'test') |
| 105 | |
| 106 | |
| 107 | class NoInputEncodingTestCase(unittest.TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected