[FIX] pylint W0105(pointless-string-statement)

This commit is contained in:
Stéphane Bidoul
2014-11-18 16:56:48 +01:00
parent e3ba3331e4
commit 7ec0fe9fe9

View File

@@ -164,10 +164,10 @@ class TestAccountJournalPeriodClose(common.TransactionCase):
# issue on Odoo github : #1633
# I check if the exception is correctly raised
"""self.assertRaises(orm.except_orm,
self.registry('account.move').write,
self.cr, self.uid, [move_id],
{'journal_id': journal_id}, context=context)"""
# self.assertRaises(orm.except_orm,
# self.registry('account.move').write,
# self.cr, self.uid, [move_id],
# {'journal_id': journal_id}, context=context)
def test_draft_move_close_journal(self):
context = {}