File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -224,21 +224,6 @@ class TestFileListTest(TempDirTestCase):
224
224
to ensure setuptools' version of FileList keeps parity with distutils.
225
225
"""
226
226
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
-
242
227
def setup_method (self , method ):
243
228
super (TestFileListTest , self ).setup_method (method )
244
229
self .threshold = log .set_threshold (log .FATAL )
@@ -306,8 +291,23 @@ def test_process_template_line(self):
306
291
l ('dir3/sub/ok.txt' ),
307
292
])
308
293
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 :
311
311
continue
312
312
file_list .process_template_line (line )
313
313
You can’t perform that action at this time.
0 commit comments