Explorar o código

Black again, wanting to remove the parentheses

Jason Rumney %!s(int64=2) %!d(string=hai) anos
pai
achega
db78c28808
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/test_sensor.py

+ 1 - 1
tests/test_sensor.py

@@ -33,7 +33,7 @@ async def test_init_entry(hass):
     }
 
     await async_setup_entry(hass, entry, m_add_entities)
-    assert (type(hass.data[DOMAIN]["dummy"]["sensor_temperature"]) == TuyaLocalSensor)
+    assert type(hass.data[DOMAIN]["dummy"]["sensor_temperature"]) == TuyaLocalSensor
     m_add_entities.assert_called_once()