Show More
@@ -1120,9 +1120,11 b' class TTest(Test):' | |||||
1120 | return True |
|
1120 | return True | |
1121 | if el: |
|
1121 | if el: | |
1122 | if el.endswith(b" (esc)\n"): |
|
1122 | if el.endswith(b" (esc)\n"): | |
1123 | el = el[:-7].decode('string-escape') + '\n' |
|
|||
1124 | if sys.version_info[0] == 3: |
|
1123 | if sys.version_info[0] == 3: | |
1125 |
el.e |
|
1124 | el = el[:-7].decode('unicode_escape') + '\n' | |
|
1125 | el = el.encode('utf-8') | |||
|
1126 | else: | |||
|
1127 | el = el[:-7].decode('string-escape') + '\n' | |||
1126 | if el == l or os.name == 'nt' and el[:-1] + b'\r\n' == l: |
|
1128 | if el == l or os.name == 'nt' and el[:-1] + b'\r\n' == l: | |
1127 | return True |
|
1129 | return True | |
1128 | if el.endswith(b" (re)\n"): |
|
1130 | if el.endswith(b" (re)\n"): |
General Comments 0
You need to be logged in to leave comments.
Login now