PyTest - Writing Assertions
Which of the following is the correct syntax to assert two variables
x and y are the same object in pytest?x and y are the same object in pytest?assert x is y.== checks value equality, equals is invalid syntax, and is not checks non-identity.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions