Package test :: Module test_support :: Class ResourceDenied
[hide private]
[frames] | no frames]

type ResourceDenied

              object --+                
exceptions.BaseException --+            
        exceptions.Exception --+        
                           Error --+    
                         TestSkipped --+

Test skipped because it requested a disallowed resource.

This is raised when a test calls requires() for a resource that has not be enabled. It is used to distinguish between expected and unexpected skips.

Instance Methods [hide private]

Inherited from exceptions.Exception: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Properties [hide private]

Inherited from exceptions.BaseException: args, message