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:
Paulus Schoutsen authored and GitHub committed 2017-01-03 21:33:48 +01:00
1 parent fdd3fa7d80
commit 9eed03108f
5 files changed
+8 -4

No files matched your search

+1
View File
@@ -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