Skip to content

Commit 80d504e

Browse files
authored
Address deprecation warnings (#249)
1 parent 293dc8c commit 80d504e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

metakernel/tests/test_expect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ def test_expect_timeout (self):
110110
if __name__ == '__main__':
111111
unittest.main()
112112

113-
suite = unittest.makeSuite(ExpectTestCase, 'test')
113+
suite = unittest.TestLoader().loadTestsFromTestCase(ExpectTestCase)

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ filterwarnings= [
7575
# Fail on warnings
7676
"error",
7777
"ignore:the imp module is deprecated:DeprecationWarning:ipykernel",
78+
"ignore:The distutils package is deprecated:DeprecationWarning:ipykernel",
7879
"ignore:distutils Version classes:DeprecationWarning:ipyparallel",
7980
"ignore:unclosed event loop:ResourceWarning",
8081
"ignore:There is no current event loop:DeprecationWarning"

0 commit comments

Comments
 (0)