def validate_no_atomic_block(self):
        if self.in_atomic_block:
            raise TransactionManagementError(
                "This is forbidden when an 'atomic' block is active.")
Test _CheckValueFunc().
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/backends/__init__.py/BaseDatabaseWrapper.validate_no_atomic_block--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/BaseSettingsTest.testCheckValueFunc