[Python-checkins] r83627 - python/branches/release26-maint/Lib/test/test_builtin.py
ezio.melotti
python-checkins at python.org
Tue Aug 3 06:50:52 CEST 2010
Author: ezio.melotti
Date: Tue Aug 3 06:50:52 2010
New Revision: 83627
Log:
Try to avoid failures on the buildbot.
Modified:
python/branches/release26-maint/Lib/test/test_builtin.py
Modified: python/branches/release26-maint/Lib/test/test_builtin.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_builtin.py (original)
+++ python/branches/release26-maint/Lib/test/test_builtin.py Tue Aug 3 06:50:52 2010
@@ -1074,11 +1074,9 @@
with check_warnings() as w:
warnings.simplefilter("always")
self.assertRaises(TypeError, range, 1e100, 1e101, 1e101)
- self.assertEqual(w.category, DeprecationWarning)
with check_warnings() as w:
warnings.simplefilter("always")
self.assertEqual(range(1.0), [0])
- self.assertEqual(w.category, DeprecationWarning)
self.assertRaises(TypeError, range, 0, "spam")
self.assertRaises(TypeError, range, 0, 42, "spam")
More information about the Python-checkins
mailing list