Source

rope_py3k / ropetest / refactor / renametest.py

Diff from to

ropetest/refactor/renametest.py

                           refactored.replace('\r\n', '\n'))
 
     def test_multi_byte_strs_and_renaming(self):
-        s = u'{LATIN SMALL LETTER I WITH DIAERESIS}' * 4
-        code = u'# -*- coding: utf-8 -*-\n# ' + s + \
+        s = '{LATIN SMALL LETTER I WITH DIAERESIS}' * 4
+        code = '# -*- coding: utf-8 -*-\n# ' + s + \
                 '\na = 1\nprint(2 + a + 2)\n'
         refactored = self._local_rename(code, code.rindex('a'), 'b')
-        self.assertEquals(u'# -*- coding: utf-8 -*-\n# ' + s +
+        self.assertEquals('# -*- coding: utf-8 -*-\n# ' + s +
                           '\nb = 1\nprint(2 + b + 2)\n', refactored)
 
     def test_resources_parameter(self):