(self)
| 101 | ip.run_cell("fooé.f()") |
| 102 | |
| 103 | def test_iso8859_5(self): |
| 104 | with TemporaryDirectory() as td: |
| 105 | fname = os.path.join(td, "dfghjkl.py") |
| 106 | |
| 107 | with io.open(fname, "w", encoding="iso-8859-5") as f: |
| 108 | f.write(iso_8859_5_file) |
| 109 | |
| 110 | with prepended_to_syspath(td): |
| 111 | ip.run_cell("from dfghjkl import fail") |
| 112 | |
| 113 | with tt.AssertPrints("ZeroDivisionError"): |
| 114 | with tt.AssertPrints("дбИЖ", suppress=False): |
| 115 | ip.run_cell("fail()") |
| 116 | |
| 117 | def test_nonascii_msg(self): |
| 118 | cell = "raise Exception('é')" |
nothing calls this directly
no test coverage detected