[pypy-commit] pypy py3.6: Fix typo in test

arigo pypy.commits at gmail.com
Mon Jan 6 13:10:44 EST 2020


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.6
Changeset: r98453:a0e3294e5d1d
Date: 2020-01-06 19:10 +0100
http://bitbucket.org/pypy/pypy/changeset/a0e3294e5d1d/

Log:	Fix typo in test

diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py b/pypy/interpreter/astcompiler/test/test_astbuilder.py
--- a/pypy/interpreter/astcompiler/test/test_astbuilder.py
+++ b/pypy/interpreter/astcompiler/test/test_astbuilder.py
@@ -663,7 +663,7 @@
         assert exc_list.msg == "only single target (not list) can be annotated"
 
         exc_bad_target = pytest.raises(SyntaxError, self.get_ast, '{}: int').value
-        assert exc_bad_target.msg == "illegal target for annoation"
+        assert exc_bad_target.msg == "illegal target for annotation"
 
 
     def test_augassign(self):


More information about the pypy-commit mailing list