summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 04:24:12 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 04:24:12 (GMT)
commit8b6de130c64ace2a5bd56ec619eb54216676b613 (patch)
treecdc71e08c64ccf36f34b3ab8997f472c8107551b /Lib
parent8933cb477f8baac44ba0f214cf2738eef21b558d (diff)
downloadcpython-8b6de130c64ace2a5bd56ec619eb54216676b613.zip
cpython-8b6de130c64ace2a5bd56ec619eb54216676b613.tar.gz
cpython-8b6de130c64ace2a5bd56ec619eb54216676b613.tar.bz2
UNARY_CONVERT can no longer be generated, so remove a test for the peepholer
optimization for it.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_peepholer.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py
index 4385a84..be7d4e8 100644
--- a/Lib/test/test_peepholer.py
+++ b/Lib/test/test_peepholer.py
@@ -135,7 +135,6 @@ class TestTranforms(unittest.TestCase):
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
):