Skip to content

Commit dc9cfec

Browse files
committed
don't mind me making silly mistakes
1 parent 6c29e87 commit dc9cfec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def process_error(self, exception, spec):
614614
# Connection errors are considered client errors.
615615
if isinstance(error, ConnectionFailure):
616616
self.assertNotIsInstance(error, NotPrimaryError)
617-
if isinstance(error, CorruptGridFile):
617+
elif isinstance(error, CorruptGridFile):
618618
pass
619619
elif isinstance(error, (InvalidOperation, ConfigurationError, EncryptionError, NoFile)):
620620
pass

test/unified_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def process_error(self, exception, spec):
613613
# Connection errors are considered client errors.
614614
if isinstance(error, ConnectionFailure):
615615
self.assertNotIsInstance(error, NotPrimaryError)
616-
if isinstance(error, CorruptGridFile):
616+
elif isinstance(error, CorruptGridFile):
617617
pass
618618
elif isinstance(error, (InvalidOperation, ConfigurationError, EncryptionError, NoFile)):
619619
pass

0 commit comments

Comments
 (0)