(self)
| 93 | class NonAsciiTest(unittest.TestCase): |
| 94 | @onlyif_unicode_paths |
| 95 | def test_nonascii_path(self): |
| 96 | # Non-ascii directory name as well. |
| 97 | with TemporaryDirectory(suffix=u'é') as td: |
| 98 | fname = os.path.join(td, u"fooé.py") |
| 99 | with open(fname, "w") as f: |
| 100 | f.write(file_1) |
| 101 | |
| 102 | with prepended_to_syspath(td): |
| 103 | ip.run_cell("import foo") |
| 104 | |
| 105 | with tt.AssertPrints("ZeroDivisionError"): |
| 106 | ip.run_cell("foo.f()") |
| 107 | |
| 108 | def test_iso8859_5(self): |
| 109 | with TemporaryDirectory() as td: |
nothing calls this directly
no test coverage detected