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

# Class ResourceDenied

source code

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
              unittest.case.SkipTest --+
                                       |
                                      ResourceDenied

Test skipped because it requested a disallowed resource.

This is raised when a test calls requires() for a resource that has not been 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__`, `__unicode__` Inherited from `object`: `__format__`, `__hash__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]
Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`