Did I find the right examples for you? yes no

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

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

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

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKDeleteMark.mkmodel/TestEmpty.py   Webware-for-Python(Download)
from Foo import Foo
from Bar import Bar
from MiddleKit.Run import ObjectStore
import A, B, C, D, E, F, G, H, I, J, K, L
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKDelete.mkmodel/TestEmpty.py   Webware-for-Python(Download)
from Foo import Foo
from Bar import Bar
from MiddleKit.Run import ObjectStore
import A, B, C, D, E, F, G, H, I, J, K, L
 

src/p/y/PyXB-1.2.3/tests/trac/trac-0043/tst-2.py   PyXB(Download)
_log = logging.getLogger(__name__)
import unittest
import B
from pyxb import BIND
 

src/p/y/PyXB-1.2.3/tests/trac/trac-0043/tst-1.py   PyXB(Download)
import unittest
import A
import B
 
class Trac43_1 (unittest.TestCase):

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