Skip to content

Commit

Permalink
test: skip PySpark 2 and TF 2.6+ for estimator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chongxiaoc committed Feb 23, 2022
1 parent 0cfdfe3 commit 554e7ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/test_spark_keras.py
Expand Up @@ -72,6 +72,9 @@ def fit(model, train_data, val_data, steps_per_epoch, validation_steps, callback
return fit


@pytest.mark.skipif(LooseVersion(pyspark.__version__) < LooseVersion('3.0.0') and
LooseVersion(tf.__version__) >= LooseVersion('2.6.0'),
reason='Skip PySpark 2 and TF 2.6+ for Keras Estimator failures.')
class SparkKerasTests(tf.test.TestCase):
def __init__(self, *args, **kwargs):
super(SparkKerasTests, self).__init__(*args, **kwargs)
Expand Down

0 comments on commit 554e7ab

Please sign in to comment.