<div dir="ltr">Hi John,<div><br></div><div>If you take a look at Matt's fork, you'll see that I recently updated that unit test to compare to 12 decimal places instead of requiring bitwise identicality.  See this PR: <a href="https://bitbucket.org/MatthewTurk/yt/pull-request/6/unit-consistency-enzo-cosmology-units/diff">https://bitbucket.org/MatthewTurk/yt/pull-request/6/unit-consistency-enzo-cosmology-units/diff</a></div>

<div><br></div><div>I think if you merge with Matt (specifically, the unitrefactor bookmark on <a href="https://bitbucket.org/MatthewTurk/yt">https://bitbucket.org/MatthewTurk/yt</a>) that issue should go away.  Not sure if new issues will crop up.</div>

<div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 31, 2013 at 3:45 PM, John Zuhone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Good news on the Windows/yt front. I'm happy to announce that as of<br>
right now only one unit test is failing. The failure is subtle, but I<br>
thought I would run it by you all to see what we should do about it.<br>
<br>
The failure in question is a comparison test in<br>
yt/utilities/tests/test_units.py, in "test_power":<br>
<br>
    assert u2.cgs_value == (pc_cgs**2 * mK_cgs**4)**2<br>
<br>
basically, the unit cgs_value is exactly the combination of these<br>
factors, so even though they are floats, one would expect that the<br>
equality should hold, and on our other platforms it does. However, on<br>
Windows, the comparison is failing on the last digit, with a relative<br>
difference of ~4e-16 between the two values. So, while I'm not<br>
inclined to be very concerned about it, I'm curious to see what you<br>
guys think about how it should be handled.<br>
<br>
Happy New Year!<br>
<br>
John Z<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
John ZuHone<br>
<br>
Postdoctoral Researcher<br>
NASA/Goddard Space Flight Center<br>
<br>
<a href="mailto:jzuhone@gmail.com">jzuhone@gmail.com</a><br>
<a href="mailto:john.zuhone@nasa.gov">john.zuhone@nasa.gov</a><br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</font></span></blockquote></div><br></div>