mirror of https://github.com/python/cpython
Issue #12678: Fix distutils sdist test on Windows.
Patch by Jeremy Kloth.
This commit is contained in:
parent
a75039ad88
commit
367d4c8a80
|
@ -351,6 +351,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
|
||||||
# filling data_files by pointing files in package_data
|
# filling data_files by pointing files in package_data
|
||||||
dist.package_data = {'somecode': ['*.txt']}
|
dist.package_data = {'somecode': ['*.txt']}
|
||||||
self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
|
self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
|
||||||
|
cmd.formats = ['gztar']
|
||||||
cmd.ensure_finalized()
|
cmd.ensure_finalized()
|
||||||
cmd.run()
|
cmd.run()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue