This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: MacOS9: test_urllib fails
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen
Priority: normal Keywords:

Created on 2003-07-23 12:04 by jackjansen, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (2)
msg17298 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-07-23 12:04
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.
msg17299 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-07-31 19:39
Logged In: YES 
user_id=45365

Fixed by calling os.path.normpath on both side of the test.
History
Date User Action Args
2022-04-10 16:10:10adminsetgithub: 38915
2003-07-23 12:04:04jackjansencreate