<div dir="ltr">Never mind, I fixed the problem. Python 3 was ignoring the metaclass hooks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 9:21 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Right now all of the tests in Common/Core pass with Python 3 except for TestNumpyInteface:</div><div><br></div><div>File "/Users/dgobbi/Work/Kitware/vtk-gitlab/Common/Core/Testing/Python/TestNumpyInterface.py", line 69, in <module></div><div> assert algs.all(1 + randomVec - 1 - randomVec < 1E-4)</div><div>TypeError: unsupported operand type(s) for +: 'int' and 'VTKCompositeDataArray'</div><div><br></div><div>The problem lies with the VTKArray class in dataset_adapter.py. The custom numeric operations work differently in Python 3, my guess is that some extra type coercion is needed. Can someone take a look?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div> - David</div></font></span></div>
</blockquote></div><br></div>