File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -157,21 +157,14 @@ def test_imagesequence_clone():
157157 "Cloned ImageSequence should have the same type"
158158
159159
160- def test_imagesequence_equality ():
161- """ Test comparing two ImageSequence objects using the '==' operator . """
160+ def test_imagesequence_equality_operators ():
161+ """ Test comparing two ImageSequence objects using the '==' and '!=' operators . """
162162 image_seq1 = av .ImageSequence ()
163163 image_seq2 = av .ImageSequence ()
164-
165- assert image_seq1 == image_seq2 , "Two default ImageSequence objects should be equal"
166164
167-
168- def test_imagesequence_inequality ():
169- """ Test comparing two ImageSequence objects using the '!=' operator. """
170- image_seq1 = av .ImageSequence ()
171- image_seq2 = av .ImageSequence ()
172-
173165 # Since ImageSequence currently has no distinguishing properties,
174166 # two default instances are equal
167+ assert image_seq1 == image_seq2 , "Two default ImageSequence objects should be equal"
175168 assert not (image_seq1 != image_seq2 ), \
176169 "Two default ImageSequence objects should not be unequal"
177170
You can’t perform that action at this time.
0 commit comments