[Python-3000-checkins] r51597 - python/branches/p3yk/Lib/test/test_peepholer.py
brett.cannon
python-3000-checkins at python.org
Fri Aug 25 06:24:13 CEST 2006
Author: brett.cannon
Date: Fri Aug 25 06:24:12 2006
New Revision: 51597
Modified:
python/branches/p3yk/Lib/test/test_peepholer.py
Log:
UNARY_CONVERT can no longer be generated, so remove a test for the peepholer
optimization for it.
Modified: python/branches/p3yk/Lib/test/test_peepholer.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_peepholer.py (original)
+++ python/branches/p3yk/Lib/test/test_peepholer.py Fri Aug 25 06:24:12 2006
@@ -135,7 +135,6 @@
def test_folding_of_unaryops_on_constants(self):
for line, elem in (
- ('`1`', "('1')"), # unary convert
('-0.5', '(-0.5)'), # unary negative
('~-2', '(1)'), # unary invert
):
More information about the Python-3000-checkins
mailing list