test: use not instead of is False in assert
#366
Merged
not instead of is False in assert
#366