Show More
@@ -681,7 +681,7 b' class TestAstTransform2(unittest.TestCase):' | |||||
681 |
|
681 | |||
682 | class ErrorTransformer(ast.NodeTransformer): |
|
682 | class ErrorTransformer(ast.NodeTransformer): | |
683 | """Throws an error when it sees a number.""" |
|
683 | """Throws an error when it sees a number.""" | |
684 | def visit_Num(self): |
|
684 | def visit_Num(self, node): | |
685 | raise ValueError("test") |
|
685 | raise ValueError("test") | |
686 |
|
686 | |||
687 | class TestAstTransformError(unittest.TestCase): |
|
687 | class TestAstTransformError(unittest.TestCase): |
General Comments 0
You need to be logged in to leave comments.
Login now