diff options
author | Glenn Glazer <coyot@lindenlab.com> | 2016-07-27 14:26:48 -0700 |
---|---|---|
committer | Glenn Glazer <coyot@lindenlab.com> | 2016-07-27 14:26:48 -0700 |
commit | dec92ac3f8c40d8914348d77b96c3b77917f7555 (patch) | |
tree | d7cfa51508ddda12b90d6d637df31ffa3b59ba10 /indra/llcommon | |
parent | f710ab3d3f054160b5c79ba042af12a8c9652677 (diff) | |
parent | 3d5766e491855cd5260dc85a97f06462918d2875 (diff) |
MAINT-6585: pull into fork of viewer-neko for pull request
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/tests/llleap_test.cpp | 5 | ||||
-rw-r--r-- | indra/llcommon/tests/llsdserialize_test.cpp | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/indra/llcommon/tests/llleap_test.cpp b/indra/llcommon/tests/llleap_test.cpp index d342dece84..c387da6c48 100644 --- a/indra/llcommon/tests/llleap_test.cpp +++ b/indra/llcommon/tests/llleap_test.cpp @@ -110,10 +110,7 @@ namespace tut // finding indra/lib/python. Use our __FILE__, with // raw-string syntax to deal with Windows pathnames. "mydir = os.path.dirname(r'" << __FILE__ << "')\n" - // We expect mydir to be .../indra/llcommon/tests. - "sys.path.insert(0,\n" - " os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n" - "from indra.base import llsd\n" + "from llbase import llsd\n" "\n" "class ProtocolError(Exception):\n" " def __init__(self, msg, data):\n" diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp index 6fbb9abfc0..81b930e1e2 100644 --- a/indra/llcommon/tests/llsdserialize_test.cpp +++ b/indra/llcommon/tests/llsdserialize_test.cpp @@ -1518,10 +1518,7 @@ namespace tut // scanner. import_llsd("import os.path\n" "import sys\n" - "sys.path.insert(0,\n" - " os.path.join(os.path.dirname(r'" __FILE__ "'),\n" - " os.pardir, os.pardir, 'lib', 'python'))\n" - "from indra.base import llsd\n") + "from llbase import llsd\n") {} ~TestPythonCompatible() {} |