Discussion:
[Pyublas] test/test.py is missing.
전경원
2012-04-04 06:31:40 UTC
Permalink
Hi.

The test sequence written at
http://documen.tician.de/pyublas/installing.html#step-6-test-pyublas is not
work, because test/test.py is missing. So I've written test/test.py in the
attached file.

test/test_ublas.py is much like a unittest file, so I applied the unitest.
The result can be ssen at attached test_ublas_unittest.py.

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/pyublas/attachments/20120404/b56ea0a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: application/octet-stream
Size: 215 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyublas/attachments/20120404/b56ea0a7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_pyublas_unittest.py
Type: application/octet-stream
Size: 5795 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyublas/attachments/20120404/b56ea0a7/attachment-0001.obj>
Andreas Kloeckner
2012-04-13 04:44:06 UTC
Permalink
Hi there,
Post by 전경원
The test sequence written at
http://documen.tician.de/pyublas/installing.html#step-6-test-pyublas is not
work, because test/test.py is missing. So I've written test/test.py in the
attached file.
Good point, fixed. (test.py caused trouble as a filename for some reason
I don't quite recall.)
Post by 전경원
test/test_ublas.py is much like a unittest file, so I applied the unitest.
The result can be ssen at attached test_ublas_unittest.py.
Even better--it *is* a unit test file that can be used with pytest [1].
I've added some code that makes it runnable as a script so that it will
executes its tests.

[1] http://pytest.org

Thanks for the suggestions,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyublas/attachments/20120413/3b7b7509/attachment.pgp>
Loading...