Skip to content

Commit

Permalink
remove debug check
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gesel <paul.gesel@picknik.ai>
  • Loading branch information
pac48 committed Aug 2, 2024
1 parent 4e6975e commit 1a8322d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ def set_up(yaml_test_file):
],
)
def test_expected(test_input, expected):
if not __debug__ or sys.flags.optimize:
if test_input == 'wrong_default_type.yaml':
pytest.skip(
'Evaluating optimized type validation cannot be completed when python is optimized'
)

with pytest.raises(expected) as e:
yaml_test_file = test_input
set_up(yaml_test_file)
Expand Down

0 comments on commit 1a8322d

Please # to comment.