[REM] stray logging

bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y
This commit is contained in:
Xavier Morel
2012-11-23 10:58:24 +01:00
parent 328537a7ba
commit 242a5da5a9
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -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); },
-2
View File
@@ -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));