From 242a5da5a9f4b71b3ced9f583a461c397f6be22a Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 23 Nov 2012 10:58:24 +0100 Subject: [PATCH] [REM] stray logging bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y --- addons/web/static/src/js/pyeval.js | 1 - addons/web/static/test/evals.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index df8f4132af5..2b4d1ef5eea 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -456,7 +456,6 @@ openerp.web.pyeval = function (instance) { return py.NotImplemented; } var s = tmxxx(this.year, this.month, this.day + other.days); - console.log(this, other, s); return datetime.date.fromJSON(s.year, s.month, s.day); }, __radd__: function (other) { return this.__add__(other); }, diff --git a/addons/web/static/test/evals.js b/addons/web/static/test/evals.js index d4f72b1c374..994c122f1e6 100644 --- a/addons/web/static/test/evals.js +++ b/addons/web/static/test/evals.js @@ -189,9 +189,7 @@ openerp.testing.section('eval.types', { ok(py.eval('a - day == date(2002, 3, 1)', ctx)); ok(py.eval('-day + a == date(2002, 3, 1)', ctx)); ok(py.eval('a + week == date(2002, 3, 9)', ctx)); - console.group(9) ok(py.eval('a - week == date(2002, 2, 23)', ctx)); - console.groupEnd(); ok(py.eval('a + 52*week == date(2003, 3, 1)', ctx)); // 10 ok(py.eval('a - 52*week == date(2001, 3, 3)', ctx)); ok(py.eval('(a + week) - a == week', ctx));