Test compressed URLs using c engine · pandas-dev/pandas@97a1c25 (original) (raw)

Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
8 8 import os
9 9 import nose
10 10 import functools
11 +from itertools import product
11 12
12 13 import pandas.util.testing as tm
13 14 from pandas import DataFrame
@@ -38,7 +39,7 @@ def test_compressed_urls(self):
38 39 for compression, extension in self.compression_to_extension.items():
39 40 url = self.base_url + extension
40 41 # args is a (compression, engine) tuple
41 -for args in [(compression, 'python'), ('infer', 'python')]:
42 +for args in product([compression, 'infer'], ['python', 'c']):
42 43 # test_fxn is a workaround for more descriptive nose reporting.
43 44 # See http://stackoverflow.com/a/37393684/4651668.
44 45 test_fxn = functools.partial(self.check_table)