summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/llsdserialize_test.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-08-17 11:45:34 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-08-17 11:45:34 -0400
commitb5fe9c476943807aa7526f67dd648b5ad250824b (patch)
treee9f27cce6b4d11c0673988325f84b9b5b5898e1b /indra/llcommon/tests/llsdserialize_test.cpp
parent36ed0e98ea7bd591a798a4373e8aa78a8fca4d14 (diff)
DRTVWR-588: To write b'\n' in Python source, use "b'\\n'"
Diffstat (limited to 'indra/llcommon/tests/llsdserialize_test.cpp')
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp2
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;