New submission from Florent Xicluna <la...@yahoo.fr>: This test do not test "true division" contrary to what is claimed.
for zero in ["huge / 0", "huge / 0L", "mhuge / 0", "mhuge / 0L"]: self.assertRaises(ZeroDivisionError, eval, zero, namespace) Because it uses the module "unittest" to eval the expression. And __future__.division is not active in unittest module. Other tests were OK. ---------- components: Tests messages: 96710 nosy: flox priority: low severity: normal status: open title: test_long_future is faulty type: behavior versions: Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7553> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com