Hi Guys,

Line 396 of doctest.py contains code which is, at best, 
platform-specific (and so a bug) or, more likely, irrelevent.

I have the following code that runs the tests in all my package's docs:

def test_suite():
     suite = unittest.TestSuite()
     for path in \
      glob(os.path.join(os.path.dirname(__file__),'..','docs','*.txt')):
         suite.addTest(
             DocFileSuite(path, optionflags=REPORT_NDIFF|ELLIPSIS)
             )
     return suite

...which runs fine on Windows (which makes me think that whole 
ValueError raise is bogus) and yet fails on Linux.

Does anyone know why that raise is there?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to