Skip to content

Commit cd3c2ef

Browse files
committed
Remove filterwarnings in the test due to added filterwarning in setup.ctf
1 parent be4fce1 commit cd3c2ef

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

python/pyarrow/tests/test_gandiva.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@
2020

2121
import pyarrow as pa
2222

23-
pytestmark = [
24-
pytest.mark.gandiva,
25-
pytest.mark.filterwarnings("ignore:pyarrow.gandiva is deprecated"),
26-
]
27-
2823

24+
@pytest.mark.gandiva
2925
def test_tree_exp_builder():
3026
import pyarrow.gandiva as gandiva
3127

@@ -67,6 +63,7 @@ def test_tree_exp_builder():
6763
assert r.equals(e)
6864

6965

66+
@pytest.mark.gandiva
7067
def test_table():
7168
import pyarrow.gandiva as gandiva
7269

@@ -93,6 +90,7 @@ def test_table():
9390
assert r.equals(e)
9491

9592

93+
@pytest.mark.gandiva
9694
def test_filter():
9795
import pyarrow.gandiva as gandiva
9896

@@ -116,6 +114,7 @@ def test_filter():
116114
assert result.to_array().equals(pa.array(range(1000), type=pa.uint32()))
117115

118116

117+
@pytest.mark.gandiva
119118
def test_in_expr():
120119
import pyarrow.gandiva as gandiva
121120

@@ -226,6 +225,7 @@ def test_in_expr_todo():
226225
assert list(result.to_array()) == [1]
227226

228227

228+
@pytest.mark.gandiva
229229
def test_boolean():
230230
import pyarrow.gandiva as gandiva
231231

@@ -252,6 +252,7 @@ def test_boolean():
252252
assert result.to_array().equals(pa.array([0, 2, 5], type=pa.uint32()))
253253

254254

255+
@pytest.mark.gandiva
255256
def test_literals():
256257
import pyarrow.gandiva as gandiva
257258

@@ -291,6 +292,7 @@ def test_literals():
291292
builder.make_literal(True, None)
292293

293294

295+
@pytest.mark.gandiva
294296
def test_regex():
295297
import pyarrow.gandiva as gandiva
296298

@@ -314,6 +316,7 @@ def test_regex():
314316
assert r.equals(b)
315317

316318

319+
@pytest.mark.gandiva
317320
def test_get_registered_function_signatures():
318321
import pyarrow.gandiva as gandiva
319322
signatures = gandiva.get_registered_function_signatures()
@@ -323,6 +326,7 @@ def test_get_registered_function_signatures():
323326
assert hasattr(signatures[0], "name")
324327

325328

329+
@pytest.mark.gandiva
326330
def test_filter_project():
327331
import pyarrow.gandiva as gandiva
328332
mpool = pa.default_memory_pool()
@@ -369,6 +373,7 @@ def test_filter_project():
369373
assert r.equals(exp)
370374

371375

376+
@pytest.mark.gandiva
372377
def test_to_string():
373378
import pyarrow.gandiva as gandiva
374379
builder = gandiva.TreeExprBuilder()
@@ -388,6 +393,7 @@ def test_to_string():
388393
assert str(and_node) == 'bool not((bool) z) && (bool) y'
389394

390395

396+
@pytest.mark.gandiva
391397
def test_rejects_none():
392398
import pyarrow.gandiva as gandiva
393399

0 commit comments

Comments
 (0)