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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/i/p/ipython-HEAD/IPython/lib/tests/test_deepreload.py   ipython(Download)
 
            # Test that A is not reloaded.
            obj = A.Object()
            dreload(B, exclude=['A'])
            nt.assert_true(isinstance(obj, A.Object))
 
            # Test that A is reloaded.
            obj = A.Object()

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/IPython/lib/tests/test_deepreload.py   antisocial(Download)
 
            # Test that A is not reloaded.
            obj = A.Object()
            dreload(B, exclude=['A'])
            nt.assert_true(isinstance(obj, A.Object))
 
            # Test that A is reloaded.
            obj = A.Object()

src/i/p/ipython-2.0.0/IPython/lib/tests/test_deepreload.py   ipython(Download)
 
            # Test that A is not reloaded.
            obj = A.Object()
            dreload(B, exclude=['A'])
            nt.assert_true(isinstance(obj, A.Object))
 
            # Test that A is reloaded.
            obj = A.Object()