Author delhallt
Recipients delhallt
Date 2013-05-07.08:30:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367915410.77.0.862505044661.issue17923@psf.upfronthosting.co.za>
In-reply-to
Content
test_glob's trailing_slash tests fails on AIX 6.1/Python 2.7.4:

The code section for no_magic/slash case seems to be the issue.

Attached patch resolves issue.

FAIL: test_glob_directory_with_trailing_slash (test.test_glob.GlobTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/test/test_glob.py", line 120, in test_glob_directory_with_trailing_slash
    self.assertEqual(res, [])
AssertionError: Lists differ: ['@test_7602318_tmp_dir/ZZZ/'] != []

First list contains 1 additional elements.
First extra element 0:
@test_7602318_tmp_dir/ZZZ/

- ['@test_7602318_tmp_dir/ZZZ/']
+ []

======================================================================
FAIL: test_glob_unicode_directory_with_trailing_slash (test.test_glob.GlobTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/test/test_glob.py", line 137, in test_glob_unicode_directory_with_trailing_slash
    self.assertEqual(res, [])
AssertionError: Lists differ: [u'@test_7602318_tmp_dir/ZZZ/'... != []

First list contains 1 additional elements.
First extra element 0:
@test_7602318_tmp_dir/ZZZ/

- [u'@test_7602318_tmp_dir/ZZZ/']
+ []
History
Date User Action Args
2013-05-07 08:30:10delhalltsetrecipients: + delhallt
2013-05-07 08:30:10delhalltsetmessageid: <1367915410.77.0.862505044661.issue17923@psf.upfronthosting.co.za>
2013-05-07 08:30:10delhalltlinkissue17923 messages
2013-05-07 08:30:10delhalltcreate