Commit 2c63bb2e authored by Jason R. Coombs's avatar Jason R. Coombs

Test should use the same high-level interface for appending filenames as the...

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.
parent 836f7004
...@@ -224,7 +224,7 @@ class TestSdistTest(unittest.TestCase): ...@@ -224,7 +224,7 @@ class TestSdistTest(unittest.TestCase):
try: try:
mm.run() mm.run()
u_filename = filename.decode('utf-8', 'surrogateescape') u_filename = filename.decode('utf-8', 'surrogateescape')
mm.filelist.files.append(u_filename) mm.filelist.append(u_filename)
# Re-write manifest # Re-write manifest
mm.write_manifest() mm.write_manifest()
finally: finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment