summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_sdist.py
diff options
context:
space:
mode:
authorÉric Araujo <aeric@mtlpy.org>2012-12-09 03:47:03 (GMT)
committerÉric Araujo <aeric@mtlpy.org>2012-12-09 03:47:03 (GMT)
commit24457c9ad375239aca9bd176284d1e4f181e02f4 (patch)
treedebeb009292f1615d17ea061a3ad528b41bfec2d /Lib/distutils/tests/test_sdist.py
parent62a0d6ea402d18f528629c6e84ed6f46e7c0912a (diff)
parent8b503c0a4e82ba5aadd60215bf493529ce6e1821 (diff)
downloadcpython-24457c9ad375239aca9bd176284d1e4f181e02f4.zip
cpython-24457c9ad375239aca9bd176284d1e4f181e02f4.tar.gz
cpython-24457c9ad375239aca9bd176284d1e4f181e02f4.tar.bz2
Branch merge
Diffstat (limited to 'Lib/distutils/tests/test_sdist.py')
-rw-r--r--Lib/distutils/tests/test_sdist.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py
index 1ba2a1a..e6359d6 100644
--- a/Lib/distutils/tests/test_sdist.py
+++ b/Lib/distutils/tests/test_sdist.py
@@ -83,9 +83,8 @@ class SDistTestCase(PyPIRCCommandTestCase):
@unittest.skipUnless(ZLIB_SUPPORT, 'Need zlib support to run')
def test_prune_file_list(self):
- # this test creates a package with some vcs dirs in it
- # and launch sdist to make sure they get pruned
- # on all systems
+ # this test creates a project with some VCS dirs and an NFS rename
+ # file, then launches sdist to check they get pruned on all systems
# creating VCS directories with some files in them
os.mkdir(join(self.tmp_dir, 'somecode', '.svn'))
@@ -99,6 +98,8 @@ class SDistTestCase(PyPIRCCommandTestCase):
self.write_file((self.tmp_dir, 'somecode', '.git',
'ok'), 'xxx')
+ self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx')
+
# now building a sdist
dist, cmd = self.get_cmd()