Skip to content

Commit

Permalink
tests are fixed???
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpypere committed Nov 6, 2023
1 parent b713d9e commit 6a378f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions test/fancylogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,8 @@ def test_zzz_fancylogger_as_rootlogger_logging(self):
msg = 'this is my string'
logging.debug(msg)

if sys.version_info < (3,7):
# logging stream handling was changed in python 3.7
# this is a good thing as messages can no longer go missing
self.assertEqual(stringfile.getvalue(), '',
msg="logging.debug reports nothing when fancylogger loglevel is debug")
self.assertEqual(stringfile.getvalue(), '',
msg="logging.debug reports nothing when fancylogger loglevel is debug")

fancylogger.setroot()
self.assertTrue(isinstance(logging.root, fancylogger.FancyLogger),
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DO NOT EDIT MANUALLY

[tox]
envlist = py36
envlist = py36,py39
skipsdist = true

[testenv]
Expand Down

0 comments on commit 6a378f5

Please sign in to comment.