Skip to content

Commit 97a1c25

Browse files
committed
Test compressed URLs using c engine
1 parent ecee74f commit 97a1c25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/tests/parser/test_network.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import os
99
import nose
1010
import functools
11+
from itertools import product
1112

1213
import pandas.util.testing as tm
1314
from pandas import DataFrame
@@ -38,7 +39,7 @@ def test_compressed_urls(self):
3839
for compression, extension in self.compression_to_extension.items():
3940
url = self.base_url + extension
4041
# args is a (compression, engine) tuple
41-
for args in [(compression, 'python'), ('infer', 'python')]:
42+
for args in product([compression, 'infer'], ['python', 'c']):
4243
# test_fxn is a workaround for more descriptive nose reporting.
4344
# See http://stackoverflow.com/a/37393684/4651668.
4445
test_fxn = functools.partial(self.check_table)

0 commit comments

Comments
 (0)