Skip to content

Commit d0f602d

Browse files
committed
Move MANIFEST_IN declaration
1 parent b3b9c65 commit d0f602d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

setuptools/tests/test_manifest.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -224,21 +224,6 @@ class TestFileListTest(TempDirTestCase):
224224
to ensure setuptools' version of FileList keeps parity with distutils.
225225
"""
226226

227-
MANIFEST_IN = """\
228-
include ok
229-
include xo
230-
exclude xo
231-
include foo.tmp
232-
include buildout.cfg
233-
global-include *.x
234-
global-include *.txt
235-
global-exclude *.tmp
236-
recursive-include f *.oo
237-
recursive-exclude global *.x
238-
graft dir
239-
prune dir3
240-
"""
241-
242227
def setup_method(self, method):
243228
super(TestFileListTest, self).setup_method(method)
244229
self.threshold = log.set_threshold(log.FATAL)
@@ -306,8 +291,23 @@ def test_process_template_line(self):
306291
l('dir3/sub/ok.txt'),
307292
])
308293

309-
for line in self.MANIFEST_IN.split('\n'):
310-
if line.strip() == '':
294+
MANIFEST_IN = DALS("""\
295+
include ok
296+
include xo
297+
exclude xo
298+
include foo.tmp
299+
include buildout.cfg
300+
global-include *.x
301+
global-include *.txt
302+
global-exclude *.tmp
303+
recursive-include f *.oo
304+
recursive-exclude global *.x
305+
graft dir
306+
prune dir3
307+
""")
308+
309+
for line in MANIFEST_IN.split('\n'):
310+
if not line:
311311
continue
312312
file_list.process_template_line(line)
313313

0 commit comments

Comments
 (0)