Closed deepsource-autofix[bot] closed 9 months ago
Usage of assert statement in application logic is discouraged. assert is removed with compiling to optimized byte code. Consider raising an exception instead. Ideally, assert statement should be used only in tests.
assert
Usage of
assert
statement in application logic is discouraged.assert
is removed with compiling to optimized byte code. Consider raising an exception instead. Ideally,assert
statement should be used only in tests.