[Numpy-discussion] NumpyTest problem

Charles R Harris charlesr.harris@gmail....
Tue Jun 10 22:20:48 CDT 2008


On Tue, Jun 10, 2008 at 8:49 PM, David Huard <david.huard@gmail.com> wrote:

> Charles,
>
> This bug appeared after your change in r5217:
>
> Index: numpytest.py
> ===================================================================
> --- numpytest.py        (révision 5216)
> +++ numpytest.py        (révision 5217)
> @@ -527,7 +527,7 @@
>          all_tests = unittest.TestSuite(suite_list)
>          return all_tests
>
> -    def test(self, level=1, verbosity=1, all=False, sys_argv=[],
> +    def test(self, level=1, verbosity=1, all=True, sys_argv=[],
>               testcase_pattern='.*'):
>          """Run Numpy module test suite with level and verbosity.
>
> running
> NumpyTest().test(all=False) works, but
> NumpyTest().test(all=True) doesn't, that is, it finds 0 test.
>
> David
>

Yep, there seems to be a bug in test somewhere. Hmm, all is supposed to be
equivalent to level > 10 (but isn't), so I wonder if there is a conflict
with the level=1 default? But since we are moving to nose...

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080610/4eb87d62/attachment.html 


More information about the Numpy-discussion mailing list