(self)
| 2106 | self.assertEqual(exc.path, None) |
| 2107 | |
| 2108 | def test_non_str_argument(self): |
| 2109 | # Issue #15778 |
| 2110 | with check_warnings(('', BytesWarning), quiet=True): |
| 2111 | arg = b'abc' |
| 2112 | exc = ImportError(arg) |
| 2113 | self.assertEqual(str(arg), str(exc)) |
| 2114 | |
| 2115 | def test_copy_pickle(self): |
| 2116 | for kwargs in (dict(), |
nothing calls this directly
no test coverage detected