def test_empty(self, test_coll): bulk = test_coll.initialize_ordered_bulk_op() with pytest.raises(InvalidOperation): await bulk.execute()