MCPcopy Create free account
hub / github.com/ipython/ipython / test_proper_default_encoding

Function test_proper_default_encoding

IPython/core/tests/test_compilerop.py:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 nt.assert_true(len(linecache.cache) > ncache)
49
50def test_proper_default_encoding():
51 # Check we're in a proper Python 2 environment (some imports, such
52 # as GTK, can change the default encoding, which can hide bugs.)
53 nt.assert_equal(sys.getdefaultencoding(), "utf-8")
54
55def test_cache_unicode():
56 cp = compilerop.CachingCompiler()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected