Commits

Jason R. Coombs committed 7596bee

Adding test demonstrating encoding error when unicode is present in the feed entry

  • Participants
  • Parent commits 95319de

Comments (0)

Files changed (1)

File tests/unit/test_rss.py

 	res = feedparser.parse(feed_url)
 	entry = res['entries'][0]
 	pmxbot.rss.RSSFeeds.format_entry(entry)
+
+def test_format_entry_unicode():
+	pmxbot.rss.RSSFeeds.format_entry(dict(title=u'\u2013'))