[issue23310] MagicMock initializer fails for magic methods

2015-04-14 Thread Łukasz Langa
Łukasz Langa added the comment: Awesome! Thank you for your patch, Kasia. For the record, I left the non-magic Mock behavior untouched since Kasia rightfully points out that in this case m.configure_mock() also does not work. -- keywords: -needs review resolution: - fixed status:

[issue23310] MagicMock initializer fails for magic methods

2015-04-14 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- stage: needs patch - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23310 ___ ___