Fix deprecation warnings

This commit is contained in:
Neil Martinsen-Burrell 2023-03-27 12:39:58 -05:00
parent e8b7bfb9c4
commit d3a285b5d8
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
9 changed files with 97 additions and 88 deletions

View file

@ -47,3 +47,5 @@ def less_console_noise():
# restore the streams
for handler in handlers.values():
handler.setStream(restore[handler.name])
# close the file we opened
devnull.close()