'Test that the global state retaining non-safe Mahalanobis instance
raises RuntimeErrors on all invocations'

def test_global_is_borked(self):

    from Orange.distance import Mahalanobis
    with self.assertRaises(RuntimeError):
        Mahalanobis.fit(self.x)
    with self.assertRaises(RuntimeError):
        Mahalanobis(self.x)
