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

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

src/d/r/dramatis-0.1.1/test/dramatis/simple_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \

src/d/r/dramatis-0.1.1/test/dramatis/exc_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \

src/d/r/dramatis-0.1.1/test/dramatis/actor_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \
        assert aB.count == 2
 
        assert len( dramatis.Runtime.current.exceptions() ) == 0
 
        dramatis.Runtime.current.warnings = False
        dramatis.Runtime.current.warnings = True
 
        assert len( dramatis.Runtime.current.exceptions() ) == 2
 
        dramatis.Runtime.current.clear_exceptions()
 
        assert len( dramatis.Runtime.current.exceptions() ) == 0

src/d/r/dramatis-0.1.1/test/dramatis/actor/task_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \
        assert okay
        dramatis.Runtime.current.warnings = True
        assert len(dramatis.Runtime.current.exceptions() ) == 1
        dramatis.Runtime.current.clear_exceptions()
 
        okay = False
        try:
            raise dramatis.Runtime.current.exceptions()[0]
        except AttributeError: okay = True
        dramatis.Runtime.current.clear_exceptions()

src/d/r/dramatis-0.1.1/test/dramatis/actor/name_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \

src/d/r/dramatis-0.1.1/test/dramatis/actor/future_test.py   dramatis(Download)
    def teardown(self):
        try:
            dramatis.Runtime.current.quiesce()
            assert len( dramatis.Runtime.current.exceptions() ) == 0
            assert threading.activeCount() == \