On 26 juil. 2013, at 16:27, Ramiro Morales wrote:
> django.utils.unittest is a copy of the Python>= 2.7 stdlib unittest library
> (aka unittest2)
Besides, it's deprecated in Django 1.7.
--
Aymeric.
--
You received this message because you are subscribed to the Google Groups
"Django devel
On Fri, Jul 26, 2013 at 11:03 AM, Matt McClure
wrote:
> TestSuite holds references to each TestCase instance. So attributes of my
> TestCase subclasses don't get freed by the garbage collector until the last
> reference to TestSuite disappears, which isn't until the entire test run
> ends. In a la
TestSuite holds references to each TestCase instance. So attributes of my
TestCase subclasses don't get freed by the garbage collector until the last
reference to TestSuite disappears, which isn't until the entire test run
ends. In a large test suite, the test run exhausts memory and the OS kill
On 26 juil. 2013, at 09:40, julianb wrote:
> I don't think the queryset needs to be loaded into memory. There is an
> iterator() method available:
I don't think .iterator() does what you expect. See
http://thebuild.com/presentations/unbreaking-django.pdf, slide 62 and 63. If
you're careful, m
I don't think the queryset needs to be loaded into memory. There is an
iterator() method available:
https://docs.djangoproject.com/en/dev/ref/models/querysets/#iterator
On Thursday, July 25, 2013 11:56:09 AM UTC+2, Aymeric Augustin wrote:
>
> Hi Julian,
>
> Thanks for the suggestion. This is an
On Monday, July 22, 2013 2:48:00 AM UTC+3, Michal Petrucha wrote:
>
> Hello,
>
> I have some awesome news today. At long last I managed to finally get
> the refactor of ForeignKey to pass the entire test suite. It's only
> one configuration (CPython 2.7 + SQLite), but it's a start. Due to the