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