Message300572
I'm not sure about type() to get a class object and calling __aenter__, __aexit__ through it: that makes it hard to mock these classes as Mock's spec= relies on __class__ and type() seem to ignore it (learned it a hard way.
Yury, I could take a second look and try to change this into a patch if that's OK. |
|
Date |
User |
Action |
Args |
2017-08-19 08:15:23 | Ilya.Kulakov | set | recipients:
+ Ilya.Kulakov, ncoghlan, giampaolo.rodola, yselivanov, thehesiod, veky |
2017-08-19 08:15:23 | Ilya.Kulakov | set | messageid: <1503130523.05.0.902788955883.issue29302@psf.upfronthosting.co.za> |
2017-08-19 08:15:22 | Ilya.Kulakov | link | issue29302 messages |
2017-08-19 08:15:22 | Ilya.Kulakov | create | |
|