()
| 53 | nt.assert_equal(sys.getdefaultencoding(), "utf-8") |
| 54 | |
| 55 | def test_cache_unicode(): |
| 56 | cp = compilerop.CachingCompiler() |
| 57 | ncache = len(linecache.cache) |
| 58 | cp.cache(u"t = 'žćčšđ'") |
| 59 | nt.assert_true(len(linecache.cache) > ncache) |
| 60 | |
| 61 | def test_compiler_check_cache(): |
| 62 | """Test the compiler properly manages the cache. |