Skip to content

Commit

Permalink
Merge pull request #209 from wkerzendorf/testing/pandas_version_info
Browse files Browse the repository at this point in the history
Testing/pandas version info
  • Loading branch information
ssim committed Dec 10, 2014
2 parents 4ee289c + b277091 commit 496f478
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions tardis/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,20 @@ def pytest_report_header(config):
sys.float_info)

import numpy
s += "Numpy: {0}\n".format(numpy.__version__)
s += "numpy: {0}\n".format(numpy.__version__)

try:
import scipy
s += "Scipy: {0}\n".format(scipy.__version__)
s += "scipy: {0}\n".format(scipy.__version__)
except:
s += "Scipy: not available\n"
s += "scipy: not available\n"

try:
import pandas
s += "pandas: {0}\n".format(pandas.__version__)
except:
s += "pandas: not available\n"


try:
import astropy
Expand Down Expand Up @@ -102,9 +109,9 @@ def pytest_report_header(config):

try:
import matplotlib
s += "Matplotlib: {0}\n".format(matplotlib.__version__)
s += "matplotlib: {0}\n".format(matplotlib.__version__)
except:
s += "Matplotlib: not available\n"
s += "matplotlib: not available\n"

try:
import IPython
Expand Down

0 comments on commit 496f478

Please sign in to comment.