def test_failsWithIncorrectDeprecation(self):
        differentVersion = Version('Foo', 1, 2, 3)
        exception = self.assertRaises(
            self.failureException,
            self.callDeprecated,
            differentVersion, oldMethod, 'foo')
        self.assertIn(getVersionString(self.version), str(exception))
        self.assertIn(getVersionString(differentVersion), str(exception))
Gets the View to use when editing an object.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/TestCallDeprecated.test_failsWithIncorrectDeprecation--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/core/base.py/Base.tno_get_view