def test_value(self):
        """
        Speeds can be instantiated, and report their value in meters
        per second, and can be converted to floats.
        """
        speed = base.Speed(50.0)
        self.assertEqual(speed.inMetersPerSecond, 50.0)
        self.assertEqual(float(speed), 50.0)

        Speeds can be instantiated, and report their value in meters
        per second, and can be converted to floats.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py