Run tests on Python 3.6 (#5162)
* Run tests on Python 3.6 * Fix dsmr test * Fix async util tests * Fix rest sensor test
This commit is contained in:
1 parent
fdd3fa7d80
commit
9eed03108f
5 files changed
+8
-4
No files matched your search
@@ -87,6 +87,7 @@ class RunCoroutineThreadsafeTests(test_utils.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
"""Test setup method."""
|
||||
super().setUp()
|
||||
self.loop = asyncio.new_event_loop()
|
||||
self.set_event_loop(self.loop) # Will cleanup properly
|
||||
|
||||
|
||||
Reference in new issue
Block a user