Really! import mock import unittest import pinger
It should be three lines, but somehow it got all messed up, either through rich text formatting or copy paste. Being a bit pedantic now about import statements which are clearly unintentionally messed up. - Sent in plain text. -- James On 17 January 2014 15:32, Steven D'Aprano <st...@pearwood.info> wrote: > > On Fri, Jan 17, 2014 at 08:35:04AM -0500, eryksun wrote: > > On Fri, Jan 17, 2014 at 6:23 AM, Steven D'Aprano <st...@pearwood.info> > > wrote: > > > On Fri, Jan 17, 2014 at 09:58:06AM +0000, James Chapman wrote: > [...] > > >> import mockimport unittestimport pinger > > >> class Test_Pinger(unittest.TestCase): > > > > > > And here you have two more SyntaxErrors: missing commas between > > > arguments to import, and a stray space before the "class" again. > > > > This is also fine in the rich text version. BTW, the botched plain > > text conversion is missing line breaks, not commas. > > I don't understand this. If I'm interpreting you correctly, > > > import mockimport > unittestimport > pinger > > > would not be "fine". > > > -- > Steven > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor