1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Upgrade pytest to 5.0.0 (#24885)

* Upgrade pytest to 5.0.0

* exception message for pytest 5
This commit is contained in:
Daniel Høyer Iversen
2019-07-01 16:47:43 +02:00
committed by Andrew Sayre
parent 5ba83d4dfb
commit 3d2f843c1d
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ def test_temperature_not_a_number(hass):
display_temp(hass, temp, TEMP_CELSIUS, PRECISION_HALVES)
assert "Temperature is not a number: {}".format(temp) \
in str(exception)
in str(exception.value)
def test_celsius_halves(hass):