Skip to content

Commit 4fea99a

Browse files
nmdefrieskrivard
andauthored
remove try-except wrapper in test for *not* failing
Co-authored-by: Katie Mazaitis <[email protected]>
1 parent e612d51 commit 4fea99a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

_delphi_utils_python/tests/validator/test_dynamic.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,5 @@ def test_date_comparison_by_type(self):
492492
# datetime.date type
493493
"time_value": datetime.strptime("2020-10-26", "%Y-%m-%d").date()})
494494

495-
try:
496-
# This should run without raising any errors.
497-
validator.check_max_date_vs_reference(test_data, ref_data, "date", "state", "signal", report)
498-
except TypeError:
499-
assert False
495+
# This should run without raising any errors.
496+
validator.check_max_date_vs_reference(test_data, ref_data, "date", "state", "signal", report)

0 commit comments

Comments
 (0)