Explorar el Código

Black again, wanting to remove the parentheses

Jason Rumney hace 2 años
padre
commit
db78c28808
Se han modificado 1 ficheros con 1 adiciones y 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()