Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve tests for HESS data #473
@joleroi - If you want to continue with this, it needs to be rebased.
Note that I've added some tests whether loading works for HAP-HD and PA here:
Do you think this is OK, or is that already duplication with the "chain" tests you've set up?
I am about to merge the 'chain' test and the tests you added in https://github.com/gammapy/gammapy/pull/457/files
We could add such a context manager as a helper to capture stdout:
Concerning info as a string versus printing, I'm undecided.
Sometimes one has options what to print:
>>> spam.info(verbose=42) >>> print(spam.info(verbose=42))
But yes, for the use case of wanting a string, having to capture it via a context manager is more cumbersome ...
I think in the few cases in Astropy