Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1b1: test_ignore_warnings fails on some Debian architectures #4336

Closed
olebole opened this issue Nov 23, 2015 · 5 comments
Closed

1.1b1: test_ignore_warnings fails on some Debian architectures #4336

olebole opened this issue Nov 23, 2015 · 5 comments

Comments

@olebole
Copy link
Member

olebole commented Nov 23, 2015

Hi,

on Debian MIPS (little endian) 32 bit and 64bit, and hppa the test_ignore_warnings test fails:

_____________________________ test_ignore_warnings _____________________________
    def test_ignore_warnings():
        t = table.Table([[np.nan, np.nan]])
        with warnings.catch_warnings(record=True) as warns:
            t.info('stats', out=None)
>           assert len(warns) == 0
E           assert 2 == 0
E            +  where 2 = len([<warnings.WarningMessage object at 0xffe44132b0>,
                               <warnings.WarningMessage object at 0xffe4413208>])
astropy/table/tests/test_info.py:233: AssertionError

Numpy version is 1.9.2 (identical to the build on amd64 where the test succeeds).

@astrofrog
Copy link
Member

@olebole - could you try seeing what the warnings are? Thanks!

@olebole
Copy link
Member Author

olebole commented Nov 23, 2015

Yes, but not quickly. I am on travel this week.

@embray
Copy link
Member

embray commented Nov 24, 2015

I'll be surprised if this is really a bug so much as a less than robust test, but we'll see...

@bsipocz
Copy link
Member

bsipocz commented Jun 26, 2017

We're about to drop np1.9 support, and this doesn't come up again with the past 2 major releases, so I'm inclined to close it. Please reopen if you still see this issue with 2.0rc1!

@bsipocz bsipocz closed this as completed Jun 26, 2017
@olebole
Copy link
Member Author

olebole commented Jul 10, 2017

Although late, I can confirm that this works now on MIPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants