(self)
| 2099 | self.assertEqual(exc.path, None) |
| 2100 | |
| 2101 | def test_non_str_argument(self): |
| 2102 | # Issue #15778 |
| 2103 | with check_warnings(('', BytesWarning), quiet=True): |
| 2104 | arg = b'abc' |
| 2105 | exc = ImportError(arg) |
| 2106 | self.assertEqual(str(arg), str(exc)) |
| 2107 | |
| 2108 | def test_copy_pickle(self): |
| 2109 | for kwargs in (dict(), |
nothing calls this directly
no test coverage detected