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.

Author BreamoreBoy
Recipients BreamoreBoy, belopolsky, flxkid, gvanrossum, jafo, mamrhein, vdupras
Date 2010-09-19.10:43:19
SpamBayes Score 3.7822792e-05
Marked as misclassified No
Message-id <1284893002.74.0.927067293312.issue1738@psf.upfronthosting.co.za>
In-reply-to
Content
Patch worked fine with 2.7.  I reworked it for SVN trunk but got this failure.

FAILED (failures=1)
Traceback (most recent call last):
  File "test_filecmp.py", line 179, in <module>
    test_main()
  File "test_filecmp.py", line 176, in test_main
    support.run_unittest(FileCompareTestCase, DirCompareTestCase)
  File "c:\py3k\lib\test\support.py", line 1128, in run_unittest
    _run_suite(suite)
  File "c:\py3k\lib\test\support.py", line 1111, in _run_suite
    raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "test_filecmp.py", line 158, in test_dircmp_fnmatch
    self.assertEqual(d.left_list, ['file'])
AssertionError: Lists differ: ['dir-ignore', 'file', 'file.t... != ['file']

First differing element 0:
dir-ignore
file

First list contains 2 additional elements.
First extra element 1:
file

- ['dir-ignore', 'file', 'file.tmp']
+ ['file']

I've attached a py3k patch as a different pair of eyes is more likely to spot a problem.
History
Date User Action Args
2010-09-19 10:43:22BreamoreBoysetrecipients: + BreamoreBoy, gvanrossum, jafo, belopolsky, mamrhein, flxkid, vdupras
2010-09-19 10:43:22BreamoreBoysetmessageid: <1284893002.74.0.927067293312.issue1738@psf.upfronthosting.co.za>
2010-09-19 10:43:21BreamoreBoylinkissue1738 messages
2010-09-19 10:43:20BreamoreBoycreate