Coverage for /opt/obspy/update-docs/src/obspy/obspy/imaging/tests/test_backend : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*- The obspy.imaging.backend test suite. """
""" Test cases for matplotlib backend.
Note: This test will fail when called from an interactive Python session where matplotlib was already imported. """ """ Test to see if tests are running without any X11 or any other display variable set. Therefore, the AGG backend is chosen in obspy.imaging.tests.__init__, and nothing must be imported before, e.g. by obspy.imaging.__init__. The AGG backend does not require and display setting. It is therefore the optimal for programs on servers etc. """
if __name__ == '__main__': unittest.main(defaultTest='suite') |