def test_distance_function_with_2_states(self):
        self.hass.states.set('test.object', 'happy', {
            'latitude': 32.87336,
            'longitude': -117.22943,
        })

        self.hass.states.set('test.object_2', 'happy', {
            'latitude': self.hass.config.latitude,
            'longitude': self.hass.config.longitude,
        })

        self.assertEqual(
            '187',
            template.render(
                self.hass,
                '{{ distance(states.test.object, states.test.object_2)'
                '| round }}'))
Skips can be raised as errors. When this happens, the error is
dataset/ETHPy150Open home-assistant/home-assistant/tests/helpers/test_template.py/TestUtilTemplate.test_distance_function_with_2_states--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/SkipTests.test_exceptionSkip