From 13963d8bfe06746ebf5c3715e781a90ace7c580e Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 22 May 2013 22:29:29 +0200 Subject: [PATCH] Improve comicname error message. --- tests/test_comicnames.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_comicnames.py b/tests/test_comicnames.py index 622454210..628f6859b 100644 --- a/tests/test_comicnames.py +++ b/tests/test_comicnames.py @@ -19,4 +19,4 @@ class TestComicNames(TestCase): else: comicname = name self.assertEqual(util.asciify(comicname), comicname) - self.assertTrue(isinstance(scraperclass.description, text_type), comicname) + self.assertTrue(isinstance(scraperclass.description, text_type), "Invalid description in %s: %r" % (scraperclass, scraperclass.description))