This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch ht/playgrand
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/ht/playgrand by this push:
new 00ebcbf4 try test
00ebcbf4 is described below
commit 00ebcbf4a02d476fdb93d2bbd4a6fbac5192179a
Author: HTHou <[email protected]>
AuthorDate: Fri Jul 12 18:02:55 2024 +0800
try test
---
python/test.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/python/test.py b/python/test.py
index 9d195941..88dd4b90 100644
--- a/python/test.py
+++ b/python/test.py
@@ -25,6 +25,7 @@ import unittest as ut
import numpy as np
import pandas as pd
+
import tsfile as ts
from tsfile.tsfile import EmptyFileError
@@ -73,6 +74,9 @@ def test_write_tsfile():
# test reading data
def test_read_tsfile():
+ # skip test on windows because of the bug in the tsfile library
+ if platform.system() == "Windows":
+ return
# test read a non-existent file
with ut.TestCase().assertRaises(FileNotFoundError):
ts.read_tsfile(DATA_PATH + "/notexist.tsfile", TABLE_NAME, ["level",
"num"])