summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_sdist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-05-15 23:40:37 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-05-15 23:40:37 -0400
commit2c63bb2e7c3dd6e27836630cec051e9d10891723 (patch)
tree2b404a6461e2a21140aefe40f797a7cc1ca05b07 /setuptools/tests/test_sdist.py
parent836f7004959909767640822caee8ad3af26a938d (diff)
downloadpython-setuptools-git-2c63bb2e7c3dd6e27836630cec051e9d10891723.tar.gz
Test should use the same high-level interface for appending filenames as the object itself will use when building the filelist. Ideally, FileList wouldn't expose this attribute at all.
Diffstat (limited to 'setuptools/tests/test_sdist.py')
-rw-r--r--setuptools/tests/test_sdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py
index 10042a44..ec940d00 100644
--- a/setuptools/tests/test_sdist.py
+++ b/setuptools/tests/test_sdist.py
@@ -224,7 +224,7 @@ class TestSdistTest(unittest.TestCase):
try:
mm.run()
u_filename = filename.decode('utf-8', 'surrogateescape')
- mm.filelist.files.append(u_filename)
+ mm.filelist.append(u_filename)
# Re-write manifest
mm.write_manifest()
finally: