summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Copy-Symlinks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Copy-Symlinks.py b/test/Copy-Symlinks.py
index 35e4aa0..640e76c 100644
--- a/test/Copy-Symlinks.py
+++ b/test/Copy-Symlinks.py
@@ -36,11 +36,11 @@ import TestSCons
import SCons.Defaults
SCons.Defaults.DefaultEnvironment( tools = [] )
+test = TestSCons.TestSCons()
+
if not hasattr(os, 'symlink'):
test.skip_test('No os.symlink() method, no symlinks to test.\n')
-test = TestSCons.TestSCons()
-
filelinkToCopy = 'filelinkToCopy'
fileToLink = 'file.in'
fileContents = 'stuff n things\n'