diff options
| author | 2015-08-26 07:57:23 -0300 | |
|---|---|---|
| committer | 2015-08-26 07:57:23 -0300 | |
| commit | 70ceb871117ca811d63cb02671dc0fefc2700883 (patch) | |
| tree | 846133ea39797d2cd1101cff2ac0818167353490 /tests/test_rss_feeds.py | |
| parent | 8559119e2f45b7f6508282962c0430423bfab051 (diff) | |
| parent | 787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff) | |
Merge tag 'upstream/7.6.4'
Upstream version 7.6.4
Diffstat (limited to 'tests/test_rss_feeds.py')
| -rw-r--r-- | tests/test_rss_feeds.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_rss_feeds.py b/tests/test_rss_feeds.py index 992b1b7..f67ed40 100644 --- a/tests/test_rss_feeds.py +++ b/tests/test_rss_feeds.py @@ -91,9 +91,9 @@ class RSSFeedTest(unittest.TestCase): # lxml will complain if the encoding is specified in the # xml when running with unicode strings. # We do not include this in our content. - open_handle = opener_mock() - file_content = [call[1][0] - for call in open_handle.mock_calls[1:-1]][0] + file_content = [ + call[1][0] + for call in opener_mock.mock_calls[2:-1]][0] splitted_content = file_content.split('\n') self.encoding_declaration = splitted_content[0] content_without_encoding_declaration = splitted_content[1:] |
