diff -r 588ca38ccb61 -r 3d25afbd78ff src/cm/tests/test_comment_positioning.py --- a/src/cm/tests/test_comment_positioning.py Fri May 14 15:17:44 2010 +0200 +++ b/src/cm/tests/test_comment_positioning.py Mon May 17 15:07:30 2010 +0200 @@ -55,32 +55,32 @@ self.assert_comment(id, x, y, z, k) def test_wrapper_shifted(self): - content = """This is a test text""" - new_content = """This is a teeest text""" + content = u"""This is a test text""" + new_content = u"""This is a teeest text""" self.preserve_comment_pos(content, new_content, [([2,2,2,4],[4,4,2,4]),]) def test_comment_removed(self): - content = """This is a test text""" - new_content = """This is a test txt""" + content = u"""This is a test text""" + new_content = u"""This is a test txt""" self.preserve_comment_pos(content, new_content, [([2,2,2,4],None),]) def test_offset_shifted(self): - content = """This is a test text""" - new_content = """a teXXXsta text""" + content = u"""This is a test text""" + new_content = u"""a teXXXsta text""" self.preserve_comment_pos(content, new_content, [([2,2,2,4],[2,2,3,5]),]) def test_insert_wrapper(self): - content = """This is a test text""" - new_content = """This is a test text""" + content = u"""This is a test text""" + new_content = u"""This is a test text""" self.preserve_comment_pos(content, new_content, [([2,2,2,5],[2,4,2,1]),]) def test_multiwrapper(self): - content = """This is a test text""" - new_content = """This is a testXXXXXXXXXXXX text""" + content = u"""This is a test text""" + new_content = u"""This is a testXXXXXXXXXXXX text""" self.preserve_comment_pos(content, new_content, [([0,2,2,4],None),]) - def test_insert_wrapper(self): - content = """aatestbb""" - new_content = """aXatestbXb""" + def test_insert_wrapper2(self): + content = u"""aatestbb""" + new_content = u"""aXatestbXb""" self.preserve_comment_pos(content, new_content, [([0,2,1,1],[0,2,2,1]),])