Skip to content

Commit 8d33433

Browse files
remove nonapplicable test
1 parent 5b7dab7 commit 8d33433

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Lib/test/test_ast/test_ast.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,13 +1141,6 @@ def test_copy_with_parents(self):
11411141
self.assertEqual(to_tuple(child.parent), to_tuple(node))
11421142

11431143

1144-
def test_replace_non_str_kwarg(self):
1145-
node = ast.Name(id="x")
1146-
errmsg = "got an unexpected keyword argument <object object"
1147-
with self.assertRaisesRegex(TypeError, errmsg):
1148-
node.__replace__(**{object(): "y"})
1149-
1150-
11511144
class ASTHelpers_Test(unittest.TestCase):
11521145
maxDiff = None
11531146

0 commit comments

Comments
 (0)