diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-08-17 11:45:34 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-08-17 11:45:34 -0400 |
commit | b5fe9c476943807aa7526f67dd648b5ad250824b (patch) | |
tree | e9f27cce6b4d11c0673988325f84b9b5b5898e1b | |
parent | 36ed0e98ea7bd591a798a4373e8aa78a8fca4d14 (diff) |
DRTVWR-588: To write b'\n' in Python source, use "b'\\n'"
-rw-r--r-- | indra/llcommon/tests/llsdserialize_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp index efd7dc9852..bb469f0686 100644 --- a/indra/llcommon/tests/llsdserialize_test.cpp +++ b/indra/llcommon/tests/llsdserialize_test.cpp @@ -1869,7 +1869,7 @@ namespace tut // Don't forget raw-string syntax for Windows pathnames. "with open(r'" << file.getName() << "', 'wb') as f:\n" " for item in DATA:\n" - " f.writelines((llsd.format_notation(item), b'\n'))\n"; }); + " f.writelines((llsd.format_notation(item), b'\\n'))\n"; }); std::ifstream inf(file.getName().c_str()); LLSD item; |