summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/llleap_test.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2013-05-09 13:21:22 -0700
committersimon <none@none>2013-05-09 13:21:22 -0700
commit8895e795763d14c3dae495b3648da3d4a52ba30a (patch)
treeefdb765ff9c99ab179bf252aa0cee87e6ac410e7 /indra/llcommon/tests/llleap_test.cpp
parent35f7a750836b72cb116e60b315ca32664911001b (diff)
parentc7f7c4bc4d9155f5e9cd83265e189f689739da62 (diff)
Merge downstream code / viewer-beta
Diffstat (limited to 'indra/llcommon/tests/llleap_test.cpp')
-rwxr-xr-x[-rw-r--r--]indra/llcommon/tests/llleap_test.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/llcommon/tests/llleap_test.cpp b/indra/llcommon/tests/llleap_test.cpp
index 9b755e9ca5..29060d4ef5 100644..100755
--- a/indra/llcommon/tests/llleap_test.cpp
+++ b/indra/llcommon/tests/llleap_test.cpp
@@ -122,13 +122,10 @@ 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"
- "try:\n"
- " from llbase import llsd\n"
- "except ImportError:\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"
+ "sys.path.insert(0,\n"
+ " os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n"
+ "from indra.base import llsd\n"
"\n"
"class ProtocolError(Exception):\n"
" def __init__(self, msg, data):\n"