Re: ruamel.yaml backport
On Wed, May 17, 2017 at 11:02:20PM +0200, Hans-Christoph Steiner wrote:
> > __________________________________________________ ERROR collecting
> > src/test_typing.py __________________________________________________
> > import file mismatch:
> > imported module 'test_typing' has this __file__ attribute:
> > /export/share/code/collab-maint/python-typing/python2/test_typing.py
> > which is not the same as the test file we want to collect:
> > /export/share/code/collab-maint/python-typing/src/test_typing.py
> > HINT: remove __pycache__ / .pyc files and/or use a unique basename for
> > your test file modules
> > ================================================== 136 passed, 1 error
> > in 0.17 seconds ==================================================
>
> Ok, I figured it out, I needed to do this in debian/rules:
>
> override_dh_auto_test:
> python2 -m pytest python2/
> python3 -m pytest src/
>
> So I'll work with the maintainer to get this into sid, then work on the
> backport.
Nice you found a fix but the approach via sid is wrong. Just send me
a patch for the Backport whixh you tested and I'll upload.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: