Skip to content

[1.4.2] TestDALResults.test_init fails with Astropy 6.0 #499

Description

@olebole

With Astropy 6.0, I get the following CI test failure:

___________________________ TestDALResults.test_init ___________________________

self = <pyvo.dal.tests.test_query.TestDALResults object at 0x7f64516e1e10>

    def test_init(self):
        dalresults = DALResults.from_result_url(
            'http://example.com/query/basic')
    
        assert dalresults.queryurl == 'http://example.com/query/basic'
        assert isinstance(dalresults.votable, VOTableFile)
>       assert isinstance(dalresults.resultstable, VOTable)
E       AssertionError: assert False
E        +  where False = isinstance(<VOTable length=3>\n  _1                    _2                 \nint64                 str37                \n----- -----...                    Illuminatus\n   42 Don't panic, and always carry a towel\n 1337                                 Elite, VOTable)
E        +    where <VOTable length=3>\n  _1                    _2                 \nint64                 str37                \n----- -----...                    Illuminatus\n   42 Don't panic, and always carry a towel\n 1337                                 Elite = <Table length=3>\n  1                     2                  \nint64                 str37                \n----- -------...                    Illuminatus\n   42 Don't panic, and always carry a towel\n 1337                                 Elite.resultstable

/usr/lib/python3/dist-packages/pyvo/dal/tests/test_query.py:274: AssertionError

Full build log

I couldn't find out whether this was fixed after 1.4.2; in this case I would like to have the relevant commit (I'll apply it to the Debian package), or maybe an updated version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions