We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ff7c0 commit 399dc42Copy full SHA for 399dc42
tests/integ/test_airflow_config.py
@@ -13,6 +13,7 @@
13
from __future__ import absolute_import
14
15
import os
16
+import sys
17
18
import pytest
19
import numpy as np
@@ -54,6 +55,7 @@
54
55
seconds_to_sleep=6,
56
):
57
try:
58
+ print(sys.modules)
59
from airflow import utils
60
from airflow import DAG
61
from airflow.providers.amazon.aws.operators.sagemaker import SageMakerTrainingOperator
@@ -64,6 +66,11 @@
64
66
break
65
67
except ParsingError:
68
pass
69
+ except ValueError as ve:
70
+ if "Unable to configure formatter" in str(ve):
71
+ print(f"Received: {ve}")
72
+ else:
73
+ raise ve
74
75
PYTORCH_MNIST_DIR = os.path.join(DATA_DIR, "pytorch_mnist")
76
PYTORCH_MNIST_SCRIPT = os.path.join(PYTORCH_MNIST_DIR, "mnist.py")
0 commit comments