From 0dc2dfc23be8337d4ecefe8d52b29ce33715193c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 31 Jan 2014 00:03:50 +0100 Subject: [PATCH] Drop support of Python 2.6 review2691002 --- INSTALL | 2 +- setup.py | 1 - tests/scenario_product_cost_fifo.rst | 16 ++++++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/INSTALL b/INSTALL index cd08f29dc9..0b9527f1f6 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing trytond_product_cost_fifo 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_stock (http://www.tryton.org/) diff --git a/setup.py b/setup.py index 69391c3770..53a6406cd0 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,6 @@ setup(name='trytond_product_cost_fifo', '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_product_cost_fifo.rst b/tests/scenario_product_cost_fifo.rst index da6c496867..9e994342f9 100644 --- a/tests/scenario_product_cost_fifo.rst +++ b/tests/scenario_product_cost_fifo.rst @@ -101,8 +101,8 @@ Make 4 units of the product available @ 10 :: Check Cost Price is 10:: >>> product.reload() - >>> product.template.cost_price == Decimal('10') - True + >>> product.template.cost_price + Decimal('10.0000') Add 2 more units @ 25:: @@ -122,8 +122,8 @@ Add 2 more units @ 25:: Check Cost Price FIFO is 15:: >>> product.reload() - >>> product.template.cost_price == Decimal('15') - True + >>> product.template.cost_price + Decimal('15.0000') Sell 3 units @ 50:: @@ -143,8 +143,8 @@ Sell 3 units @ 50:: Check Cost Price FIFO is 20:: >>> product.reload() - >>> product.template.cost_price == Decimal('20') - True + >>> product.template.cost_price + Decimal('20.0000') Sell 2 more units @ 50:: @@ -164,5 +164,5 @@ Sell 2 more units @ 50:: Check Cost Price FIFO is 25:: >>> product.reload() - >>> product.template.cost_price == Decimal('25') - True + >>> product.template.cost_price + Decimal('25.0000')