[Debian-astro-maintainers] Bug#835238: astroquery: FTBFS with pytest 3.0.0

Sebastian Ramacher sramacher at debian.org
Wed Aug 31 21:11:44 UTC 2016


Hi

On 2016-08-31 17:05:41, Vincent Prat wrote:
> I tried to replace all the occurrences of getfuncargvalue in the package,
> and this removes a lot of errors.

Thanks for working on the issue!

> However, there are still some left, apparently due to pytest itself:

If that's a pytest regression, please report it at
https://github.com/pytest-dev/pytest/issues.

Cheers

> 
> |self = <DoctestItem 'astroquery.utils.url_helpers.urljoin_keep_path'>
> |
> |    def setup(self):
> |        if self.dtest is not None:
> |            self.fixture_request = _setup_fixtures(self)
> |            globs = dict(getfixture=self.fixture_request.getfixturevalue)
> |>           for name, value in
> self.fixture_request.getfuncargvalue('doctest_namespace').items():
> |
> |/usr/lib/python2.7/dist-packages/_pytest/doctest.py:91:
> |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _
> |
> |self = <FixtureRequest for <DoctestItem
> 'astroquery.utils.url_helpers.urljoin_keep_path'>>
> |argname = 'doctest_namespace'
> |
> |    def getfuncargvalue(self, argname):
> |        """ Deprecated, use getfixturevalue. """
> |        from _pytest import deprecated
> |        warnings.warn(
> |            deprecated.GETFUNCARGVALUE,
> |>           DeprecationWarning)
> |E       DeprecationWarning: use of getfuncargvalue is deprecated, use
> getfixturevalue
> |
> |/usr/lib/python2.7/dist-packages/_pytest/fixtures.py:446:
> DeprecationWarning
> 
> Cheers,
> 
> Vincent Prat
> 

-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20160831/a9cec948/attachment.sig>


More information about the Debian-astro-maintainers mailing list