obspy.core.util.testing
Testing utilities for ObsPy.
- copyright
The ObsPy Development Team (devs@obspy.org)
- license
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)
Public Functions
Simple helper function to compare two XML strings. |
|
Create a catalog with a single event that has many features. |
|
Return a list with full absolute paths to all .py files in ObsPy file tree. |
|
Removes unique ID parts of e.g. |
|
Use a contextmanager to set up a unittest test case. |
|
Return True if two streams are almost equal. |
|
Return True if the two traces are almost equal. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
Return a dict of stats from trace optionally including processing. |
Classes
Try hard to capture all warnings. |