[Python-bugs-list] [ python-Bugs-776203 ] MacOS9: test_urllib fails

SourceForge.net noreply@sourceforge.net
Thu, 31 Jul 2003 12:39:49 -0700


Bugs item #776203, was opened at 2003-07-23 14:04
Message generated for change (Comment added) made by jackjansen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776203&group_id=5470

Category: Macintosh
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: MacOS9: test_urllib fails

Initial Comment:
test_urllib fails in MacPython-OS9:

  File 
"Sap:ufs:jack:SWDev:MacPython:Lib:test:test_urllib.py", line 
109, in test_basic
    self.assertEqual(result[0], test_support.TESTFN)
  File "Sap:ufs:jack:SWDev:MacPython:Lib:unittest.py", line 
292, in failUnlessEqual
    raise self.failureException, \
AssertionError: ':@test' != '@test'

probably a call to os.path.normpath() on both sides of the 
equality test will do the job.

----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2003-07-31 21:39

Message:
Logged In: YES 
user_id=45365

Fixed by calling os.path.normpath on both side of the test.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776203&group_id=5470