mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 07:14:24 +01:00
Make test/test_logging work on python 2.6
This commit is contained in:
parent
408afa1b58
commit
52243269fc
1 changed files with 5 additions and 1 deletions
|
|
@ -34,5 +34,9 @@ class LoggingTest(TestCase):
|
|||
self.assertTrue(stream.getvalue(), "foo oof baz")
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main(defaultTest='suite')
|
||||
|
|
|
|||
Loading…
Reference in a new issue