From 263118d4361e107b6dc353c2155dae33454aff89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 31 Jan 2014 00:03:12 +0100 Subject: [PATCH] Drop support of Python 2.6 review2691002 --- INSTALL | 2 +- setup.py | 1 - tests/scenario_account_stock_anglo_saxon.rst | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/INSTALL b/INSTALL index 88be2f1ac6..22ba8147d4 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing trytond_account_stock_anglo_saxon Prerequisites ------------- - * Python 2.6 or later (http://www.python.org/) + * Python 2.7 or later (http://www.python.org/) * trytond (http://www.tryton.org/) * trytond_account (http://www.tryton.org/) * trytond_account_invoice (http://www.tryton.org/) diff --git a/setup.py b/setup.py index 61f1d0a129..e76cd2d623 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,6 @@ setup(name='trytond_account_stock_anglo_saxon', 'Natural Language :: Slovenian', 'Natural Language :: Spanish', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Office/Business', 'Topic :: Office/Business :: Financial :: Accounting', diff --git a/tests/scenario_account_stock_anglo_saxon.rst b/tests/scenario_account_stock_anglo_saxon.rst index 2f422067f4..0d5171bac3 100644 --- a/tests/scenario_account_stock_anglo_saxon.rst +++ b/tests/scenario_account_stock_anglo_saxon.rst @@ -394,8 +394,8 @@ Create customer invoice with negative quantity:: u'posted' >>> move = invoice.move >>> line_cogs, = (l for l in move.lines if l.account == cogs) - >>> line_cogs.credit == Decimal('5') - True + >>> line_cogs.credit + Decimal('5.00') >>> line_stock, = (l for l in move.lines if l.account == stock_customer) - >>> line_stock.debit == Decimal('5') - True + >>> line_stock.debit + Decimal('5.00')