These are chat archives for astropy/astropy

14th
Aug 2017
Aarya Patil
@AustereCuriosity
Aug 14 2017 17:21
I am not able to run any tests due to the following:
File "/Users/Aarya/anaconda2/lib/python2.7/site-packages/_pytest/config.py", l assert isinstance(modname, str), "module name as string required, got %r" % AssertionError: module name as string required, got u'astropy.tests.pytest_docte
Any idea why? @bsipocz
matrixbot
@matrixbot
Aug 14 2017 17:37
bsipocz that's a weird one
bsipocz have you upgraded pytest recently? do you see this on python3, too?
Aarya Patil
@AustereCuriosity
Aug 14 2017 18:03
This started happening since I rebased on current master
I haven't checked on python3 I'll check it
matrixbot
@matrixbot
Aug 14 2017 19:08
bsipocz what't you pytest version?
Aarya Patil
@AustereCuriosity
Aug 14 2017 19:20
pytest 3.2.1
matrixbot
@matrixbot
Aug 14 2017 19:21
bsipocz oh, that's it. Downgrade it to <3.2, mster still has issues with pytest 3.2.
Aarya Patil
@AustereCuriosity
Aug 14 2017 19:21
No wait that is in python3
It is otherwise pytest 3.0.7
matrixbot
@matrixbot
Aug 14 2017 19:22
bsipocz hmm, then it's something different.
bsipocz I can't remember seeing your error message, probably best to open an issue with full traceback.
bsipocz it's probably still some version issue as I can't remember running into this on travis
Aarya Patil
@AustereCuriosity
Aug 14 2017 19:24
This was what I got when I did setup.py Searching for pytest==3.0.7 Best match: pytest 3.0.7
With 2.7
And then the test failed
The previous version used to pass so could I somehow downgrade it?
matrixbot
@matrixbot
Aug 14 2017 19:26
bsipocz you can specify a version number for both pip or conda
bsipocz but nevertheless please open an issue
Aarya Patil
@AustereCuriosity
Aug 14 2017 19:29
Looking at the AssertionError, it doesn't seem like pytest version might cause an issue. But I'll open an issue
Oh and as far as I remember I didn't upgrade pytest