File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
import math
4
4
import numpy as np
5
5
from numpy .testing import assert_array_equal
6
- import pandas as pd
7
6
import string
8
7
9
8
import tiledb
10
9
11
- from tiledb .tests .common import DiskTestCase
10
+ from tiledb .tests .common import DiskTestCase , has_pandas
12
11
13
12
14
13
class QueryConditionTest (DiskTestCase ):
@@ -612,7 +611,10 @@ def test_in_operator_dense(self):
612
611
result = A .query (attr_cond = tiledb .QueryCondition ("S in ['8']" ))[:]
613
612
assert len (self .filter_dense (result ["S" ], S_mask )) == 0
614
613
614
+ @pytest .mark .skipif (not has_pandas (), reason = "pandas not installed" )
615
615
def test_dense_datetime (self ):
616
+ import pandas as pd
617
+
616
618
uri = self .path ("query-filter-dense-datetime.tdb" )
617
619
618
620
data = pd .DataFrame (
You can’t perform that action at this time.
0 commit comments