This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients flox
Date 2009-12-20.18:26:58
SpamBayes Score 0.0006519919
Marked as misclassified No
Message-id <1261333620.36.0.215143298483.issue7553@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-20 18:27:00floxsetrecipients: + flox
2009-12-20 18:27:00floxsetmessageid: <1261333620.36.0.215143298483.issue7553@psf.upfronthosting.co.za>
2009-12-20 18:26:58floxlinkissue7553 messages
2009-12-20 18:26:58floxcreate