Antoine Pitrou added the comment:

> This means that by the end of a run, we have quite a lot of references to 
> MagicMocks.

It sounds like you are bitten by unittest keeping references to all past 
TestCase instances. This has been fixed recently (see #11798).

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22293>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to