From 3db8d367c42b92e5635aa2be154704260fb47e7a Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sun, 26 Sep 2010 21:09:14 -0300 Subject: [PATCH] Another fix to tests, broken by recent Python changes --- scrapy/tests/test_utils_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/tests/test_utils_url.py b/scrapy/tests/test_utils_url.py index 1292a84f6..fa9de55bc 100644 --- a/scrapy/tests/test_utils_url.py +++ b/scrapy/tests/test_utils_url.py @@ -285,7 +285,7 @@ class UrlUtilsTest(unittest.TestCase): fn = "test.txt" x = path_to_file_uri(fn) self.assert_(x.startswith('file:///')) - self.assertEqual(file_uri_to_path(x), os.path.abspath(fn)) + self.assertEqual(file_uri_to_path(x).lower(), os.path.abspath(fn).lower()) def test_file_uri_to_path(self): if os.name == 'nt':