File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 52
52
optional_features .add ('http11' )
53
53
54
54
# Declare top-level shortcuts
55
- if sys .version_info [0 ] == 2 :
56
- # Top-level shortcuts are not ready for Python 3 (like most of Scrapy);
57
- # skip them here to make at least some parts of Scrapy
58
- # importable in Python 3.
59
- from scrapy .spider import Spider
60
- from scrapy .http import Request , FormRequest
61
- from scrapy .selector import Selector
62
- from scrapy .item import Item , Field
55
+ from scrapy .spider import Spider
56
+ from scrapy .http import Request , FormRequest
57
+ from scrapy .selector import Selector
58
+ from scrapy .item import Item , Field
63
59
64
60
del sys
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ tests/test_spidermanager/test_spiders/spider4.py
51
51
tests/test_spidermiddleware_httperror.py
52
52
tests/test_spidermiddleware_referer.py
53
53
tests/test_spider.py
54
- tests/test_toplevel.py
55
54
tests/test_utils_defer.py
56
55
tests/test_utils_iterators.py
57
56
tests/test_utils_jsonrpc.py
You can’t perform that action at this time.
0 commit comments