Message250208
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. |
|
Date |
User |
Action |
Args |
2015-09-08 14:25:01 | mu_mind | set | recipients:
+ mu_mind, pitrou, serhiy.storchaka, eryksun |
2015-09-08 14:25:01 | mu_mind | set | messageid: <1441722301.71.0.310351160424.issue25012@psf.upfronthosting.co.za> |
2015-09-08 14:25:01 | mu_mind | link | issue25012 messages |
2015-09-08 14:25:01 | mu_mind | create | |
|