mirror of https://github.com/scrapy/scrapy.git
selector.__repr__ test, repr type is bytesarray
This commit is contained in:
parent
daabc718a9
commit
d2d014a4e9
|
|
@ -43,7 +43,7 @@ class SelectorTestCase(unittest.TestCase):
|
|||
|
||||
self.assertEqual(
|
||||
map(repr, sel.xpath('//input/@name')),
|
||||
[u"<Selector xpath='//input/@name' data=u'{}'>".format(40 * 'b')]
|
||||
["<Selector xpath='//input/@name' data=u'{}'>".format(40 * 'b')]
|
||||
)
|
||||
|
||||
def test_select_unicode_query(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue