summaryrefslogtreecommitdiffstats
path: root/test/option--warn.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--warn.py')
-rw-r--r--test/option--warn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/option--warn.py b/test/option--warn.py
index 3553f4f..4b81e25 100644
--- a/test/option--warn.py
+++ b/test/option--warn.py
@@ -112,7 +112,7 @@ def build(env, target, source):
B = Builder(action=build, multi=1)
env = Environment(BUILDERS = { 'B' : B })
-env2 = env.Copy(DIFFERENT_VARIABLE = 'true')
+env2 = env.Clone(DIFFERENT_VARIABLE = 'true')
env.B(target = 'file1.out', source = 'file1a.in')
env2.B(target = 'file1.out', source = 'file1b.in')
""")