PyTest - Writing Assertions
Identify the error in this pytest assertion and select the correct fix:
colors = ['red', 'green', 'blue'] assert 'yellow' in colors not
colors = ['red', 'green', 'blue'] assert 'yellow' in colors not
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions