Skip to content

Commit 662caa2

Browse files
Try expected failure in setUp
1 parent a9e43e6 commit 662caa2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tensorflow_model_analysis/metrics/set_match_confusion_matrix_metrics_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@
2323
from google.protobuf import text_format
2424

2525

26-
# PR 189: Remove the `expectedFailure` mark if the test passes
27-
# The test failures are `AttributeError: module 'tensorflow_model_analysis' has no attribute 'EvalConfig'`
2826
@unittest.expectedFailure
2927
class SetMatchConfusionMatrixMetricsTest(parameterized.TestCase):
3028

29+
def setUp(self):
30+
# PR 189: Remove the `expectedFailure` mark if the test passes
31+
# The test failures are `AttributeError: module 'tensorflow_model_analysis' has no attribute 'EvalConfig'`
32+
self.expectedFailure()
33+
3134
@parameterized.named_parameters(
3235
(
3336
'_precision',

0 commit comments

Comments
 (0)