Chris Jerdonek <chris.jerdo...@gmail.com> added the comment:

Rietveld link: http://codereview.appspot.com/810044/show

This patch changes unittest.TestLoader.loadTestsFromName() so that ImportErrors 
will bubble up when importing from a module with a bad import statement.  
Before the method raised an AttributeError.  The unit test code is taken from a 
patch by Salman Haq.  The patch also includes code adapted from 
http://twistedmatrix.com .

(This is my first patch, so any guidance is greatly appreciated.  Thanks.)

----------
Added file: http://bugs.python.org/file16796/_patch-7559-3.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7559>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to