mirror of https://github.com/scrapy/scrapy.git
Remove relpath filepath
This commit is contained in:
parent
240ecbf323
commit
8bd5b60889
|
|
@ -1,5 +1,4 @@
|
|||
from os.path import join, abspath, dirname, relpath, commonprefix
|
||||
import os
|
||||
from os.path import join
|
||||
|
||||
from twisted.trial import unittest
|
||||
from twisted.internet import defer
|
||||
|
|
@ -62,7 +61,7 @@ class ShellTest(ProcessTest, SiteTest, unittest.TestCase):
|
|||
test_file_path = join(tests_datadir, 'test_site/index.html')
|
||||
valid_paths = [
|
||||
test_file_path,
|
||||
relpath(test_file_path),
|
||||
# relpath(test_file_path),
|
||||
'file://'+test_file_path,
|
||||
'./tests/sample_data/test_site/index.html',
|
||||
'tests/sample_data/test_site/index.html',
|
||||
|
|
|
|||
Loading…
Reference in New Issue