Skip to content

Commit 5420488

Browse files
committed
TST: move salar.table to correct url location
1 parent 879f217 commit 5420488

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pandas/io/tests/parser/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def test_read_csv_parse_simple_list(self):
589589
def test_url(self):
590590
# HTTP(S)
591591
url = ('https://raw.github.com/pydata/pandas/master/'
592-
'pandas/io/tests/data/salary.table')
592+
'pandas/io/tests/parser/data/salary.table.csv')
593593
url_table = self.read_table(url)
594594
dirpath = tm.get_data_path()
595595
localtable = os.path.join(dirpath, 'salary.table')
@@ -604,7 +604,7 @@ def test_file(self):
604604
if sys.version_info[:2] < (2, 6):
605605
raise nose.SkipTest("file:// not supported with Python < 2.6")
606606
dirpath = tm.get_data_path()
607-
localtable = os.path.join(dirpath, 'salary.table')
607+
localtable = os.path.join(dirpath, 'salary.table.csv')
608608
local_table = self.read_table(localtable)
609609

610610
try:

pandas/io/tests/parser/test_network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ class TestUrlGz(tm.TestCase):
1818

1919
def setUp(self):
2020
dirpath = tm.get_data_path()
21-
localtable = os.path.join(dirpath, 'salary.table')
21+
localtable = os.path.join(dirpath, 'salary.table.csv')
2222
self.local_table = read_table(localtable)
2323

2424
@tm.network
2525
def test_url_gz(self):
2626
url = ('https://raw.github.com/pydata/pandas/'
27-
'master/pandas/io/tests/data/salary.table.gz')
27+
'master/pandas/io/tests/parser/data/salary.table.gz')
2828
url_table = read_table(url, compression="gzip", engine="python")
2929
tm.assert_frame_equal(url_table, self.local_table)
3030

0 commit comments

Comments
 (0)