Skip to content

Commit 59c806b

Browse files
authored
Merge pull request #751 from amueller/readable_ci_log
make ci log more readable, catch matrix subclass warning
2 parents 4715796 + 891f83a commit 59c806b

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

openml/testing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ def _cleanup_fixture(self):
221221
# deleting actual entry from tracker
222222
TestBase._delete_entity_from_tracker(entity_type, entity)
223223
except Exception as e:
224-
TestBase.logger.warn("Cannot delete ({},{}): {}".format(entity_type, entity, e))
224+
TestBase.logger.warning("Cannot delete ({},{}): {}".format(
225+
entity_type, entity, e))
225226
TestBase.logger.info("End of cleanup_fixture from {}".format(self.__class__))
226227

227228
def _get_sentinel(self, sentinel=None):

setup.cfg

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
[metadata]
22
description-file = README.md
33

4-
[nosetests]
5-
# nosetests skips test files with the executable bit by default
6-
# which can silently hide failing tests.
7-
exe = 1
8-
cover-html = 1
9-
cover-html-dir = coverage
10-
cover-package = openml
11-
12-
detailed-errors = 1
13-
with-doctest = 1
14-
doctest-tests = 1
15-
doctest-extension = rst
16-
doctest-fixtures = _fixture
17-
#doctest-options = +ELLIPSIS,+NORMALIZE_WHITESPACE
4+
[tool:pytest]
5+
filterwarnings =
6+
ignore:the matrix subclass:PendingDeprecationWarning

0 commit comments

Comments
 (0)