Skip to content

Commit 88c8b2b

Browse files
committed
Fix test
1 parent 7395901 commit 88c8b2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tiledb/tests/test_vfs.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ def test_supports(self):
1919

2020
self.assertTrue(vfs.supports("file"))
2121
self.assertIsInstance(vfs.supports("s3"), bool)
22+
self.assertIsInstance(vfs.supports("hdfs"), bool)
2223
self.assertIsInstance(vfs.supports("gcs"), bool)
2324
self.assertIsInstance(vfs.supports("azure"), bool)
24-
if tiledb.libtiledb.version() < (2, 28, 0):
25-
self.assertIsInstance(vfs.supports("hdfs"), bool)
25+
26+
# Supports is not raising an error for invalid VFS as it used to
27+
if tiledb.version() <= (0, 33, 6):
2628
with self.assertRaises(ValueError):
2729
vfs.supports("invalid")
2830
else:
29-
# HDFS support is not available in TileDB 2.28.0 and later
30-
# Also, supports is not raising an error for invalid VFS as it used to
3131
self.assertFalse(vfs.supports("invalid"))
3232

3333
def test_vfs_config(self):

0 commit comments

Comments
 (0)