Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
A useful trait change handler for testing! 

        def listener(obj, trait_name, old, new):
    """ A useful trait change handler for testing! """

    listener.obj = obj
    listener.trait_name = trait_name
    listener.old = old
    listener.new = new

    return
        


src/e/n/envisage-HEAD/envisage/tests/extension_point_changed_test_case.py   envisage(Download)
# We do these as absolute imports to allow nose to run from a different
# working directory.
from envisage.tests.application_test_case import (
    PluginA, PluginB, PluginC, TestApplication, listener
)

src/e/n/envisage-4.4.0/envisage/tests/extension_point_changed_test_case.py   envisage(Download)
# We do these as absolute imports to allow nose to run from a different
# working directory.
from envisage.tests.application_test_case import (
    PluginA, PluginB, PluginC, TestApplication, listener
)