[pypy-svn] r55021 - pypy/django/tests

hpk at codespeak.net hpk at codespeak.net
Tue May 20 17:50:27 CEST 2008


Author: hpk
Date: Tue May 20 17:50:26 2008
New Revision: 55021

Modified:
   pypy/django/tests/runtests.py
Log:
improve error reporting


Modified: pypy/django/tests/runtests.py
==============================================================================
--- pypy/django/tests/runtests.py	(original)
+++ pypy/django/tests/runtests.py	Tue May 20 17:50:26 2008
@@ -64,7 +64,7 @@
         try:
             module = load_app(self.model_label)
         except Exception, e:
-            self.fail('Unable to load invalid model module')
+            self.fail('Unable to load invalid model module %r' % (self.model_label,))
 
         # Make sure sys.stdout is not a tty so that we get errors without
         # coloring attached (makes matching the results easier). We restore



More information about the Pypy-commit mailing list