summaryrefslogtreecommitdiffstats
path: root/test/GETTEXT/doc_user_examples1.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/GETTEXT/doc_user_examples1.py')
-rw-r--r--test/GETTEXT/doc_user_examples1.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/GETTEXT/doc_user_examples1.py b/test/GETTEXT/doc_user_examples1.py
index 3d05a21..bf210a1 100644
--- a/test/GETTEXT/doc_user_examples1.py
+++ b/test/GETTEXT/doc_user_examples1.py
@@ -31,20 +31,13 @@ Make sure, that the examples given in user guide all work.
import TestSCons
import os
-# NOTE: When integrating into upstream SCons development tree, remove the next
-# line, and the "toolpath = ..." line
-site_scons = os.environ['SCONS_TOOL_LIB_DIR']
-
###############################################################################
# Trivial example. Just load the tool.
test = TestSCons.TestSCons()
test.write('SConstruct',
"""
-env = Environment(
- toolpath = ['""" + site_scons + """/SConsToolGettext']
-, tools = ["default", "gettext"]
-)
+env = Environment( tools = ["default", "gettext"] )
""")
test.run(arguments = '.')