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 mark.dickinson
Recipients cool-RR, koobs, mark.dickinson, martin.panter, ned.deily, python-dev, rhettinger, steven.daprano, vstinner
Date 2016-08-17.17:18:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471454295.97.0.0102323234385.issue27181@psf.upfronthosting.co.za>
In-reply-to
Content
>     self.assertEqual(self.nroot(x**12, 12), float(x))
> AssertionError: 1.1866666666666665 != 1.1866666666666668

That looks like a case where the test should simply be weakened to an `assertAlmostEqual` with a suitable tolerance; there's no strong reason to expect that `nroot` will give a faithfully rounded result in this case or any other.
History
Date User Action Args
2016-08-17 17:18:16mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, vstinner, ned.deily, steven.daprano, cool-RR, python-dev, martin.panter, koobs
2016-08-17 17:18:15mark.dickinsonsetmessageid: <1471454295.97.0.0102323234385.issue27181@psf.upfronthosting.co.za>
2016-08-17 17:18:15mark.dickinsonlinkissue27181 messages
2016-08-17 17:18:15mark.dickinsoncreate