Commit Graph

17 Commits

Author SHA1 Message Date
Thomas J. Fan a5c90f8abd
MNT Removes externals._pilutil and uses Pillow directly (#22743) 2022-03-18 14:52:32 +01:00
Julien Jerphanion 613773db11
TST Add minimal setup to be able to run test suite on float32 (#22690)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
2022-03-17 14:25:17 +01:00
Olivier Grisel d3429ca328
TST introducing the random_seed fixture (#22749)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 10:41:06 +01:00
Jérémie du Boisberranger 34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies (#22642)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
Thomas J. Fan d1285a9232
DOC Adds missing imports into examples and test them (#21186) 2021-09-29 13:51:33 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Loïc Estève 13f64643dc
MNT: work around pytest bug for skipping doctests (#20356) 2021-06-28 14:33:03 +02:00
Olivier Grisel f738921eea
MNT skip doctests if matplotlib is not installed (#20347) 2021-06-24 11:50:39 +02:00
Juan Martin Loyola 617ff6ef72
MAINT Remove unused variables indicated by lgtm.com (#20303) 2021-06-19 10:24:10 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Loïc Estève 365234563e
Set up matplotlib agg backend at the beginning of the tests (#20230)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02:00
Thomas J. Fan 038c5cd045
MAINT Move conftest up a level (#20208)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-11 22:56:55 +02:00
Thomas J. Fan 2e7009bc69
ENH Better error for corrupted files in fetch_kddcup99 (#19669) 2021-03-18 14:15:50 +01:00
Thomas J. Fan 0e546ebe5b
TST Download datasets before running pytest-xdist (#19118)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-13 17:02:53 +01:00
Charles Patel d2735911c2
MNT Removed arguments from matplotlib.use() (#17774) 2020-07-06 22:15:10 +10:00
Thomas J. Fan afeae82ec4
CI Tunes the number of openmp threads based on the xdist worker count (#17559)
* CI Tunes the number of threads based on the xdist worker count

* CI Fix bug

* CI Fix bug

* REV

* ENH Ability to work with wheels

* ENH Ignore conftests

* ENH Use correct number of OMP_THREADS

* ENH Sets cpu codes explicity

* DOC Adds docstring
2020-06-11 10:45:01 +02:00
Guillaume Lemaitre b34751b7ed [MRG] MAINT: add fixture for init and clean-up with matplotlib (#13708) 2019-05-06 09:41:46 +02:00