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

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

        def _skip_wo_ZODB(test_method): #pragma NO COVER
    try:
        import ZODB
    except ImportError: # skip this test if ZODB is not available
        def _dummy(*args):
            pass
        return _dummy
    else:
        return test_method
        


src/b/t/BTrees-4.0.8/BTrees/tests/testConflict.py   BTrees(Download)
import unittest
 
from .common import _skip_wo_ZODB
from .common import ConflictTestBase