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 jaraco
Recipients jaraco
Date 2019-02-10.14:11:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549807918.24.0.168325596231.issue35955@roundup.psfhosted.org>
In-reply-to
Content
In [this job](https://travis-ci.org/jaraco/cmdix/jobs/491246158), a project is using assertEqual to compare two directory listings that don't match in the group. But the hint markers pointing to the mismatch are pointing at positions that match:

E       AssertionError: '--w-[50 chars]drwxrwxr-x 2 2000  2000    4096 2019-02-10 14:[58 chars]oo\n' != '--w-[50 chars]drwxr-xr-x 2 2000  2000    4096 2019-02-10 14:[58 chars]oo\n'
E         --w-r---wx 1 2000  2000  999999 2019-02-10 14:02 bar
E       - drwxrwxr-x 2 2000  2000    4096 2019-02-10 14:02 biz
E       ?  ---
E       + drwxr-xr-x 2 2000  2000    4096 2019-02-10 14:02 biz
E       ?        +++
E       - -rw-rw-r-- 1 2000  2000     100 2019-02-10 14:02 foo
E       ? ---
E       + -rw-r--r-- 1 2000  2000     100 2019-02-10 14:02 foo
E       ?        +++

As you can see, it's the 'group' section of the flags that differ between the left and right comparison, but the hints point at the 'user' section for the left side and the 'world' section for the right side, even though they match.

I observed this on Python 3.7.1. I haven't delved deeper to see if the issue exists on 3.7.2 or 3.8.
History
Date User Action Args
2019-02-10 14:12:02jaracosetrecipients: + jaraco
2019-02-10 14:11:58jaracosetmessageid: <1549807918.24.0.168325596231.issue35955@roundup.psfhosted.org>
2019-02-10 14:11:58jaracolinkissue35955 messages
2019-02-10 14:11:57jaracocreate