<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi All, <br>
<br>
I'm pleased to announce the release of testfixtures 5.2.0 featuring
the following: <br>
<meta charset="utf-8">
<ul class="simple" style="color: rgb(0, 0, 0); font-family:
sans-serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">
<meta charset="utf-8">
<li style="hyphens: auto; text-align: justify; line-height:
20.8px;"><a class="reference internal"
title="testfixtures.test_datetime" style="color: rgb(53, 95,
124); text-decoration: none;"><code class="xref py py-class
docutils literal" style="background-color: transparent;
padding: 0px 1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">test_datetime</span></code></a><span> </span>and<span> </span><a
class="reference internal" title="testfixtures.test_time"
style="color: rgb(53, 95, 124); text-decoration: none;"><code
class="xref py py-class docutils literal"
style="background-color: transparent; padding: 0px 1px;
font-size: 0.95em; font-weight: bold;"><span class="pre"
style="hyphens: none;">test_time</span></code></a><span> </span>now
accept a<span> </span><a class="reference external"
href="https://docs.python.org/2/library/datetime.html#datetime.datetime"
title="(in Python v2.7)" style="color: rgb(53, 95, 124);
text-decoration: none;"><code class="xref py py-class docutils
literal" style="background-color: transparent; padding: 0px
1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">datetime</span></code></a><span> </span>instance
during instantiation to set the initial value.</li>
<li style="hyphens: auto; text-align: justify; line-height:
20.8px;"><a class="reference internal"
title="testfixtures.test_date" style="color: rgb(53, 95, 124);
text-decoration: none;"><code class="xref py py-class docutils
literal" style="background-color: transparent; padding: 0px
1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">test_date</span></code></a><span> </span>now
accepts a<span> </span><a class="reference external"
href="https://docs.python.org/2/library/datetime.html#datetime.date"
title="(in Python v2.7)" style="color: rgb(53, 95, 124);
text-decoration: none;"><code class="xref py py-class docutils
literal" style="background-color: transparent; padding: 0px
1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">date</span></code></a><span> </span>instance
during instantiation to set the initial value.</li>
<li style="hyphens: auto; text-align: justify; line-height:
20.8px;">Relax the restriction on adding, setting or
instantiating<span> </span><a class="reference internal"
title="testfixtures.test_datetime" style="color: rgb(53, 95,
124); text-decoration: none;"><code class="xref py py-class
docutils literal" style="background-color: transparent;
padding: 0px 1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">test_datetime</span></code></a><span> </span>with<span> </span><cite>tzinfo</cite><span> </span>such
that if the<span> </span><cite>tzinfo</cite><span> </span>matches
the one configured, then it’s okay to add. This means that you
can now instantiate a<span> </span><a class="reference internal"
title="testfixtures.test_datetime" style="color: rgb(53, 95,
124); text-decoration: none;"><code class="xref py py-class
docutils literal" style="background-color: transparent;
padding: 0px 1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">test_datetime</span></code></a><span> </span>with
an existing<span> </span><a class="reference external"
href="https://docs.python.org/2/library/datetime.html#datetime.datetime"
title="(in Python v2.7)" style="color: rgb(53, 95, 124);
text-decoration: none;"><code class="xref py py-class docutils
literal" style="background-color: transparent; padding: 0px
1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">datetime</span></code></a><span> </span>instance
that has<span> </span><cite>tzinfo</cite><span> </span>set.</li>
<li style="hyphens: auto; text-align: justify; line-height:
20.8px;"><a class="reference internal"
title="testfixtures.django.compare_model" style="color:
rgb(53, 95, 124); text-decoration: none;"><code class="xref py
py-func docutils literal" style="background-color:
transparent; padding: 0px 1px; font-size: 0.95em;
font-weight: bold;"><span class="pre" style="hyphens: none;">testfixtures.django.compare_model()</span></code></a><span> </span>now
ignores<span> </span><a class="reference external"
href="http://django.readthedocs.io/en/latest/ref/models/fields.html#django.db.models.ManyToManyField"
title="(in Django v2.0)" style="color: rgb(53, 95, 124);
text-decoration: none;"><code class="xref py py-class docutils
literal" style="background-color: transparent; padding: 0px
1px; font-size: 0.95em; font-weight: bold;"><span
class="pre" style="hyphens: none;">many</span><span> </span><span
class="pre" style="hyphens: none;">to</span><span> </span><span
class="pre" style="hyphens: none;">many</span></code></a><span> </span>fields
rather than blowing up on them.</li>
<li style="hyphens: auto; text-align: justify; line-height:
20.8px;">Drop official support for Python 3.4, although things
should continue to work.</li>
</ul>
The package is on PyPI and a full list of all the links to docs,
issue trackers and the like can be found here: <br>
<br>
<a class="moz-txt-link-freetext"
href="https://github.com/Simplistix/testfixtures">https://github.com/Simplistix/testfixtures</a>
<br>
<br>
Any questions, please do ask on the Testing in Python list or on the
Simplistix open source mailing list... <br>
<br>
cheers, <br>
<br>
Chris
</body>
</html>