(self, *args, failure=False, **kw)
| 27 | return (loc in POSIX_LOCALES) |
| 28 | |
| 29 | def get_output(self, *args, failure=False, **kw): |
| 30 | kw = dict(self.DEFAULT_ENV, **kw) |
| 31 | if failure: |
| 32 | out = assert_python_failure(*args, **kw) |
| 33 | out = out[2] |
| 34 | else: |
| 35 | out = assert_python_ok(*args, **kw) |
| 36 | out = out[1] |
| 37 | return out.decode().rstrip("\n\r") |
| 38 | |
| 39 | @unittest.skipIf(MS_WINDOWS, 'Windows has no POSIX locale') |
| 40 | def test_posix_locale(self): |
no test coverage detected