Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

TST fix a weird OS X testing issue

Mikhail Korobov78cb46a0797e
diff --git a/tests/test_webclient.py b/tests/test_webclient.py
index af531c81f..3ad1aa70e 100644
--- a/tests/test_webclient.py
+++ b/tests/test_webclient.py
@@ -350,7 +350,7 @@ class WebClientTestCase(unittest.TestCase):
b' </head>\n <body bgcolor="#FFFFFF" text="#000000">\n '
b'<a href="/file">click here</a>\n </body>\n</html>\n')
- def test_Encoding(self):
+ def test_encoding(self):
""" Test that non-standart body encoding matches
Content-Encoding header """
body = b'\xd0\x81\xd1\x8e\xd0\xaf'