'Check that files in odd encodings are accepted.'

def test_unicode(self):

    mydir = os.path.dirname(__file__)
    na = os.path.join(mydir, 'nonascii.py')
    _ip.magic(('run    "%s"' % na))
    nt.assert_equal(_ip.user_ns['u'], u'\u040e\u0442\u2116\u0424')
