Message330971
I was considering wrapping a `unittest.mock._Call` class definition within a function that would contain name & parent as local variables (arguments). Thus they would be accessible within the `_Call` class, but wouldn't be accessible from the outside. However this would make them inaccessible from other instances of `_Call`. So I think I'll stick to the more trivial solution of renaming them to `_mock_name` and `_mock_parent` to conform to the rest of the module :) |
|
Date |
User |
Action |
Args |
2018-12-03 19:00:29 | and3rson | set | recipients:
+ and3rson, cjw296, michael.foord, mariocj89 |
2018-12-03 19:00:29 | and3rson | set | messageid: <1543863629.28.0.788709270274.issue35357@psf.upfronthosting.co.za> |
2018-12-03 19:00:29 | and3rson | link | issue35357 messages |
2018-12-03 19:00:29 | and3rson | create | |
|