1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/extras
Jelmer Vernooij a92877f955 Add bundled copy of 'extras' python module used by newer versions of testtools/subunit.
Change-Id: I5ad9222ccb4228a4b16d54a578276d4b9d4e6c4d
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
..
extras Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
.gitignore Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
.testr.conf Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
LICENSE Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
Makefile Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
MANIFEST.in Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
NEWS Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
README.rst Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
setup.cfg Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00
setup.py Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. 2014-11-22 02:23:10 +01:00

======
extras
======

extras is a set of extensions to the Python standard library, originally
written to make the code within testtools cleaner, but now split out for
general use outside of a testing context.


Documentation
-------------

pydoc extras is your friend. extras currently contains the following functions:

* try_import

* try_imports

* safe_hasattr

Which do what their name suggests.


Licensing
---------

This project is distributed under the MIT license and copyright is owned by
the extras authors. See LICENSE for details.


Required Dependencies
---------------------

 * Python 2.6+ or 3.0+


Bug reports and patches
-----------------------

Please report bugs using github issues at <https://github.com/testing-cabal/extras>.
Patches can also be submitted via github.  You can mail the authors directly
via the mailing list testtools-dev@lists.launchpad.net. (Note that Launchpad
discards email from unknown addresses - be sure to sign up for a Launchpad
account before mailing the list, or your mail will be silently discarded).


History
-------

extras used to be testtools.helpers, and was factored out when folk wanted to
use it separately.


Thanks
------

 * Martin Pool