Skip to content

Switch to py.test

Simon Conseil requested to merge pytest into master

Replacing nose with py.test:

  • py.test is used by astropy, so it will be easier then to (try to) use astropy-helpers, and maybe have something like import mpdaf ; mpdaf.test()
  • nose is deprecated / not maintained
  • py.test has much better reports when a test fail
  • easier to write tests (using assert) and to use test data (with fixtures)

I also remove the "veryslow" mark, to have only a "slow" mark, filtered by default. And speedup SEA test, running on 3 sources instead of 6.

Merge request reports