summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-02-07 19:08:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-02-07 19:08:22 (GMT)
commit096c3ad41de5b2aa2d7c822c4f5f8b90f49e5103 (patch)
treedf4b7cca480a4d33f0fffad9278c48d6dbde0965 /Lib/test/test_shutil.py
parent95f8ef282578cd6aa87458425a777fc1cbdbf997 (diff)
downloadcpython-096c3ad41de5b2aa2d7c822c4f5f8b90f49e5103.zip
cpython-096c3ad41de5b2aa2d7c822c4f5f8b90f49e5103.tar.gz
cpython-096c3ad41de5b2aa2d7c822c4f5f8b90f49e5103.tar.bz2
make destinsrc private
Diffstat (limited to 'Lib/test/test_shutil.py')
-rw-r--r--Lib/test/test_shutil.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 6f65bdf..ac37a53 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -346,8 +346,8 @@ class TestMove(unittest.TestCase):
for src, dst in [('srcdir', 'srcdir/dest')]:
src = os.path.join(TESTFN, src)
dst = os.path.join(TESTFN, dst)
- self.assert_(shutil.destinsrc(src, dst),
- msg='destinsrc() wrongly concluded that '
+ self.assert_(shutil._destinsrc(src, dst),
+ msg='_destinsrc() wrongly concluded that '
'dst (%s) is not in src (%s)' % (dst, src))
finally:
shutil.rmtree(TESTFN, ignore_errors=True)
@@ -358,8 +358,8 @@ class TestMove(unittest.TestCase):
for src, dst in [('srcdir', 'src/dest'), ('srcdir', 'srcdir.new')]:
src = os.path.join(TESTFN, src)
dst = os.path.join(TESTFN, dst)
- self.failIf(shutil.destinsrc(src, dst),
- msg='destinsrc() wrongly concluded that '
+ self.failIf(shutil._destinsrc(src, dst),
+ msg='_destinsrc() wrongly concluded that '
'dst (%s) is in src (%s)' % (dst, src))
finally:
shutil.rmtree(TESTFN, ignore_errors=True)