mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-23 11:59:52 +00:00
Fix libc++ pretty printer test for Python 3 after D67238
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@373452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2518823f1d
commit
d81b9578e5
@ -51,7 +51,7 @@ class CheckResult(gdb.Command):
|
||||
test_fails = not re.match(check_literal, value)
|
||||
else:
|
||||
check_literal_string = expectation_val.string(encoding="utf-8")
|
||||
check_literal = check_literal_string.encode("utf-8")
|
||||
check_literal = str(check_literal_string.encode("utf-8"))
|
||||
test_fails = value != check_literal
|
||||
|
||||
if test_fails:
|
||||
|
Loading…
Reference in New Issue
Block a user