BUG: fix duplicate index indexing problems close #1201
authorWes McKinney <wesmckinn@gmail.com>
Thu, 12 Jul 2012 21:36:23 +0000 (17:36 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Fri, 13 Jul 2012 12:54:41 +0000 (12:54 +0000)
Partially taken from
4406d37b71cc3303b40847010299534c03723651

Gbp-Pq: Name up_tag_yahoo_test_requiring_network

pandas/io/tests/test_yahoo.py

index 9f123e01611d4a501c3759929722342a9e35a58f..1f10a860e35557e410a0995a5bdbc9a7d658b0b6 100644 (file)
@@ -7,13 +7,15 @@ import re
 import unittest
 import pandas.io.data as pd
 import nose
+from pandas.util.testing import network
 
 class TestYahoo(unittest.TestCase):
 
+    @network
     def test_yahoo(self):
-        """asserts that yahoo is minimally working and that it throws
-        an excecption when DataReader can't get a 200 response from
-        yahoo """
+        asserts that yahoo is minimally working and that it throws
+        an excecption when DataReader can't get a 200 response from
+        # yahoo
         start = datetime(2010,1,1)
         end = datetime(2012,1,24)
         self.assertEquals(