Commit 8b6de130 authored by Brett Cannon's avatar Brett Cannon

UNARY_CONVERT can no longer be generated, so remove a test for the peepholer

optimization for it.
parent 8933cb47
...@@ -135,7 +135,6 @@ class TestTranforms(unittest.TestCase): ...@@ -135,7 +135,6 @@ class TestTranforms(unittest.TestCase):
def test_folding_of_unaryops_on_constants(self): def test_folding_of_unaryops_on_constants(self):
for line, elem in ( for line, elem in (
('`1`', "('1')"), # unary convert
('-0.5', '(-0.5)'), # unary negative ('-0.5', '(-0.5)'), # unary negative
('~-2', '(1)'), # unary invert ('~-2', '(1)'), # unary invert
): ):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment