Skip to content

Commit 3e5c963

Browse files
Update pyTests/sfmData/test_imagegroup.py
1 parent d88a12f commit 3e5c963

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

pyTests/sfmData/test_imagegroup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)