Package schrodinger :: Package test :: Module decorate_fflag :: Class disable_feature_flag
[hide private]
[frames] | no frames]

Class disable_feature_flag

                           object --+        
                                    |        
infra.util.DecoratorAndContextManager --+    
                                        |    
                      enable_feature_flag --+
                                            |
                                           disable_feature_flag

Disable a feature flag as either a context manager or a decorator for a unittest.TestCase or a test function.

Instance Methods [hide private]

Inherited from enable_feature_flag: __enter__, __exit__, __init__, start, stop

Inherited from enable_feature_flag (private): _onstr, _set_ff

Inherited from infra.util.DecoratorAndContextManager: __call__, decorate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  on = 0
hash(x)
str flag
Properties [hide private]

Inherited from object: __class__