<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 11:50 AM Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019, 10:26 Charles R Harris <<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>I just checked that current wheels show the warnings when `numpy.test()` is run with latest pytest.  However, moving the `pytest.ini` file into the `numpy` directory is tricky, as we need to tell pytest where to find the installed file (-c option). The simplest short time solution is to ignore the warning, but long term I'm worried that the warning will become an error as pytest is doing this because they want to clean up the their implementation. Ideally there would be a better way to register the marks. </div></div></div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I bet if you open an issue on pytest explaining that numpy needs to either use unregistered marks or else have some programmatic non-pytest.ini-based way to register marks, then they'll figure something out. I think they added a warning because they're hoping to flush out these kinds of problems so they can fix them before they do the cleanup.</div><div dir="auto"><br></div></div></blockquote><div><br></div><div>Turns out that markers can be registered in conftest.py, so that fixes the problem for NumPy. SciPy will need this fix also.</div><div><br></div><div>Chuck </div></div></div>