def test_veto_stopping(self):

        application = TestApplication()

        # This listener will veto the 'stopping' event.
        application.on_trait_change(vetoer, 'stopping')

        tracker = EventTracker(
            subscriptions = [
                (application, 'starting'),
                (application, 'started'),
                (application, 'stopping'),
                (application, 'stopped')
            ]
        )

        # Start the application.
        started = application.start()
        self.assertEqual(['starting', 'started'], tracker.event_names)
        self.assertEqual(True, started)

        # Stop the application.
        stopped = application.stop()
        self.assertEqual(False, stopped)
        self.assertTrue('stopped' not in tracker.event_names)

        return
Source which has a non-keyword argument after a keyword argument should
dataset/ETHPy150Open enthought/envisage/envisage/tests/application_test_case.py/ApplicationTestCase.test_veto_stopping--crossover with--dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/CheckTests.test_nonKeywordAfterKeywordSyntaxError