@@ -0,0 +1,1845 @@
+from nose import SkipTest%0Afrom numpy.testing import assert_%0A%0Afrom statsmodels.tsa.base.datetools import dates_from_range%0Afrom statsmodels.tsa.x12 import _find_x12, select_arima_order%0A%0Ax13path = _find_x12()%0A%0Aif x13path is False:%0A    _have_x13 = False%0Aelse:%0A    _have_x13 = True%0A%0Aclass TestX13(object):%0A    @classmethod%0A    def setupClass(cls):%0A        if not _have_x13:%0A            raise SkipTest('X13/X12 not available')%0A%0A        import pandas as pd%0A        from statsmodels.datasets import macrodata, co2%0A        dta = macrodata.load_pandas().data%0A        dates = dates_from_range('1959Q1', '2009Q3')%0A        index = pd.DatetimeIndex(dates)%0A        dta.index = index%0A        cls.quarterly_data = dta.dropna()%0A%0A        dta = co2.load_pandas().data%0A        dta%5B'co2'%5D = dta.co2.interpolate()%0A        cls.monthly_data = dta.resample('M')%0A%0A        cls.monthly_start_data = dta.resample('MS')%0A%0A    def test_select_arima_order(self):%0A        res = select_arima_order(self.monthly_data)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A        res = select_arima_order(self.monthly_start_data)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A        res = select_arima_order(self.monthly_data.co2)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A        res = select_arima_order(self.monthly_start_data.co2)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A%0A        res = select_arima_order(self.quarterly_data%5B%5B'realgdp'%5D%5D)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A        res = select_arima_order(self.quarterly_data.realgdp)%0A        assert_(isinstance(res.order, tuple))%0A        assert_(isinstance(res.sorder, tuple))%0A

Add some smoke tests for x12/x13