Closed jackjansen closed 20 years ago
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.
Logged In: YES user_id=45365
Fixed by calling os.path.normpath on both side of the test.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/jackjansen' closed_at =
created_at =
labels = ['OS-mac']
title = 'MacOS9: test_urllib fails'
updated_at =
user = 'https://github.com/jackjansen'
```
bugs.python.org fields:
```python
activity =
actor = 'jackjansen'
assignee = 'jackjansen'
closed = True
closed_date = None
closer = None
components = ['macOS']
creation =
creator = 'jackjansen'
dependencies = []
files = []
hgrepos = []
issue_num = 776203
keywords = []
message_count = 2.0
messages = ['17298', '17299']
nosy_count = 1.0
nosy_names = ['jackjansen']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue776203'
versions = []
```