From cec2b682a2327dc4740965940b2acb0e5696345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 31 Jan 2014 00:03:55 +0100 Subject: [PATCH] Drop support of Python 2.6 review2691002 --- INSTALL | 2 +- setup.py | 1 - tests/scenario_production.rst | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 105e6e6b21..b4d270de8d 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing trytond_production 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_product (http://www.tryton.org/) * trytond_company (http://www.tryton.org/) diff --git a/setup.py b/setup.py index 32037af2e8..813dd62e7f 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,6 @@ setup(name='trytond_production', 'Natural Language :: Slovenian', 'Natural Language :: Spanish', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Office/Business', ], diff --git a/tests/scenario_production.rst b/tests/scenario_production.rst index 57432b0af1..4417ea747b 100644 --- a/tests/scenario_production.rst +++ b/tests/scenario_production.rst @@ -168,8 +168,8 @@ Make a production:: >>> output, = production.outputs >>> output.quantity == 2 True - >>> production.cost == Decimal('25') - True + >>> production.cost + Decimal('25.0') >>> production.save() >>> Production.wait([production.id], config.context) >>> production.state