We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f05fa2d commit dc3f0c7Copy full SHA for dc3f0c7
libcxx/test/selftest/dsl/lit.local.cfg
@@ -10,6 +10,6 @@
10
# within the test.
11
import base64, lit.util, pickle
12
13
-base64Encode = lambda s: lit.util.to_string(base64.b64encode(lit.util.to_bytes(s)))
+base64Encode = lambda s: base64.b64encode(s).decode("utf-8")
14
escapedSubstitutions = base64Encode(pickle.dumps(config.substitutions))
15
config.substitutions.append(("%{substitutions}", escapedSubstitutions))
0 commit comments