Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: skip tensorflow tests #2570

Merged
merged 5 commits into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions python/python/tests/test_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
import os
import warnings

import lance
import ml_dtypes
import numpy as np
import pandas as pd
import pyarrow as pa
import pytest
from lance.arrow import BFloat16Type, ImageArray, bfloat16_array
from lance.fragment import LanceFragment

pytest.skip("Skip tensorflow tests", allow_module_level=True)

try:
with warnings.catch_warnings():
Expand All @@ -22,15 +26,13 @@
allow_module_level=True,
)

import lance
from lance.fragment import LanceFragment
from lance.tf.data import (
from lance.tf.data import ( # noqa: E402
from_lance,
from_lance_batches,
lance_fragments,
lance_take_batches,
)
from lance.tf.tfrecord import infer_tfrecord_schema, read_tfrecord
from lance.tf.tfrecord import infer_tfrecord_schema, read_tfrecord # noqa: E402


@pytest.fixture
Expand Down