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 mu_mind
Recipients eryksun, mu_mind, pitrou, serhiy.storchaka
Date 2015-09-08.14:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441722301.71.0.310351160424.issue25012@psf.upfronthosting.co.za>
In-reply-to
Content
Right, and to clarify a bit further why I didn't just use A.resolve() == B.resolve() from the beginning, this is in a unit test where the equality check wasn't in my code. I wanted to assert I received a certain call on my mock, like
  mock_open_method.assert_called_once_with(pathlib.Path('foo'))
so it's much more convenient to be able to create a path object that matches with my target path instead of more complicated matching.
History
Date User Action Args
2015-09-08 14:25:01mu_mindsetrecipients: + mu_mind, pitrou, serhiy.storchaka, eryksun
2015-09-08 14:25:01mu_mindsetmessageid: <1441722301.71.0.310351160424.issue25012@psf.upfronthosting.co.za>
2015-09-08 14:25:01mu_mindlinkissue25012 messages
2015-09-08 14:25:01mu_mindcreate