summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/FSTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-05-07 11:52:31 (GMT)
committerSteven Knight <knight@baldmt.com>2003-05-07 11:52:31 (GMT)
commit28cc07ab75b300171d03395b7dedfae5a77cdc2d (patch)
tree4786f243ee697a57bff6b8cb7c268b310627ae95 /src/engine/SCons/Node/FSTests.py
parentaaf2cbb74e00fdc89da432d18e9fe40bb7de3b9d (diff)
downloadSCons-28cc07ab75b300171d03395b7dedfae5a77cdc2d.zip
SCons-28cc07ab75b300171d03395b7dedfae5a77cdc2d.tar.gz
SCons-28cc07ab75b300171d03395b7dedfae5a77cdc2d.tar.bz2
Improve new post-PathList refactoring performance. (Charles Crain)
Diffstat (limited to 'src/engine/SCons/Node/FSTests.py')
-rw-r--r--src/engine/SCons/Node/FSTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index 209e80d..1f58264 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -1524,7 +1524,7 @@ class SpecialAttrTestCase(unittest.TestCase):
test=TestCmd(workdir='')
fs = SCons.Node.FS.FS(test.workpath(''))
- f=fs.Entry('foo/bar/baz.blat')
+ f=fs.Entry('foo/bar/baz.blat').get_subst_proxy()
assert str(f.dir) == os.path.normpath('foo/bar'), str(f.dir)
assert f.dir.is_literal()
assert f.dir.for_signature() == 'bar', f.dir.for_signature()
@@ -1564,11 +1564,11 @@ class SpecialAttrTestCase(unittest.TestCase):
assert str(f.srcpath) == os.path.normpath('baz/bar/baz.blat'), str(f.srcpath)
assert f.srcpath.is_literal()
- assert isinstance(f.srcpath, SCons.Node.FS.Entry)
+ assert isinstance(f.srcpath.get(), SCons.Node.FS.Entry)
assert str(f.srcdir) == os.path.normpath('baz/bar'), str(f.srcdir)
assert f.srcdir.is_literal()
- assert isinstance(f.srcdir, SCons.Node.FS.Dir)
+ assert isinstance(f.srcdir.get(), SCons.Node.FS.Dir)
# And now, combinations!!!
assert str(f.srcpath.base) == os.path.normpath('baz/bar/baz'), str(f.srcpath.base)