Skip to content

Commit 5105652

Browse files
committed
testing
1 parent 56c33c1 commit 5105652

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/asynchronous/utils_spec_runner.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,10 @@ async def run_operation(self, sessions, collection, operation):
498498

499499
def allowable_errors(self, op):
500500
"""Allow encryption spec to override expected error classes."""
501-
# return (PyMongoError,)
502-
return ()
501+
return (PyMongoError,)
503502

504503
async def _run_op(self, sessions, collection, op, in_with_transaction):
505504
expected_result = op.get("result")
506-
print(f"Allowable errors: {self.allowable_errors(op)}")
507505
if expect_error(op):
508506
with self.assertRaises(self.allowable_errors(op), msg=op["name"]) as context:
509507
await self.run_operation(sessions, collection, op.copy())

0 commit comments

Comments
 (0)