fix hypothesis warning (#32678)

fix
pull/32681/head
Shane Smiskol 11 months ago committed by GitHub
parent 19e0fa3094
commit 43ebf367ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/test/fuzzy_generation.py

@ -16,7 +16,7 @@ class FuzzyGenerator:
def generate_native_type(self, field: str) -> st.SearchStrategy[bool | int | float | str | bytes]:
value_func = self.native_type_map.get(field)
if value_func:
if value_func is not None:
return value_func
else:
raise NotImplementedError(f'Invalid type: {field}')

Loading…
Cancel
Save