""" Run this file to check your python installation.
"""

def test_import_pandas():
    import pandas


def test_pandas_version():
    import pandas
    version_found = pandas.__version__.split(".")
    version_found = tuple(int(num) for num in version_found)
    assert version_found > (0, 15)


def test_import_numpy():
    import numpy


def test_import_matplotlib():
    import matplotlib


def test_scrape_web():
    import pandas as pd
    pd.read_html("http://en.wikipedia.org/wiki/World_population")


if __name__ == "__main__":
    import nose
    nose.run(defaultTest=__name__)

@@ -49,16 +49,76 @@
 ion.%0A%22%22%22
+%0Afrom os.path import dirname, join%0A%0AHERE = dirname(__file__)
 %0A%0Adef te
@@ -445,16 +445,421 @@
 tplotlib
+.pyplot as plt%0A    plt.figure%0A    plt.plot%0A    plt.legend%0A    plt.imshow%0A%0A%0Adef test_import_statsmodels():%0A    import statsmodels as sm%0A    from statsmodels.formula.api import ols%0A    from statsmodels.tsa.ar_model import AR%0A%0A%0Adef test_read_html():%0A    import pandas%0A    pandas.read_html(join(HERE, %22demos%22, %22climate_timeseries%22, %22data%22,%0A                     %22sea_levels%22, %22Obtaining Tide Gauge Data.html%22))
 %0A%0A%0Adef t

Add some more content in tests including with statsmodels.