-
Committer:
Joshua Harlow
-
Date:
2015-05-04 19:47:21 UTC
-
Revision ID:
git-v1:a48a685eca8bc262c118b1f25b66ee021ba55b53
Add a warnings module capture fixure
Capturing the warnings module output (which is typically used
for deprecating code or functions or modules) is quite useful and
is a frequent operation that can be required to perform. So provide
a fixture that is similar (but not the same) as the warnings
``catch_warnings`` context manager that can be used to gather all
warnings emitted and allows people to later analyze them to ensure
they are as they expect.