Issue 22940: fixes to editline support
diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py
index 90dcdf2..23d6194 100644
--- a/Lib/test/test_readline.py
+++ b/Lib/test/test_readline.py
@@ -43,7 +43,7 @@
 
         self.assertEqual(readline.get_current_history_length(), 1)
 
-    @unittest.skipUnless(hasattr(readline, "append_history"),
+    @unittest.skipUnless(hasattr(readline, "append_history_file"),
                          "append_history not available")
     def test_write_read_append(self):
         hfile = tempfile.NamedTemporaryFile(delete=False)