Remove self type hints (#15732)

* Remove self type hints

* Lint
This commit is contained in:
Jason Hu authored and Paulus Schoutsen committed 2018-07-30 12:44:31 +01:00
1 parent 744c277123
commit 1e5596b594
10 files changed
+51 -58

No files matched your search

+2 -2
View File
@@ -320,7 +320,7 @@ class TestHoneywellRound(unittest.TestCase):
self.device.set_temperature.call_args, mock.call('House', 25)
)
def test_set_operation_mode(self: unittest.TestCase) -> None:
def test_set_operation_mode(self) -> None:
"""Test setting the system operation."""
self.round1.set_operation_mode('cool')
self.assertEqual('cool', self.round1.current_operation)
@@ -384,7 +384,7 @@ class TestHoneywellUS(unittest.TestCase):
self.assertEqual(74, self.device.setpoint_cool)
self.assertEqual(74, self.honeywell.target_temperature)
def test_set_operation_mode(self: unittest.TestCase) -> None:
def test_set_operation_mode(self) -> None:
"""Test setting the operation mode."""
self.honeywell.set_operation_mode('cool')
self.assertEqual('cool', self.device.system_mode)