def test_shift_jis(self): result = lib.read_file_as_str(self._fixtures_file('shift_jis.txt')) ok_(isinstance(result, unicode))
def test_cp866(self): result = lib.read_file_as_str(self._fixtures_file('cp866.txt')) ok_(isinstance(result, unicode))
def test_gb2312(self): result = lib.read_file_as_str(self._fixtures_file('gb2312.txt')) ok_(isinstance(result, unicode))