--- ./Lib/test/test_builtin.py_orig	2025-01-09 07:45:22.565903871 -0600
+++ ./Lib/test/test_builtin.py	2025-01-08 08:38:39.200173810 -0600
@@ -2352,6 +2352,7 @@
         # Check stdin/stdout error handler is used when invoking PyOS_Readline()
         self.check_input_tty("prompté", b"quux\xe9", "ascii")
 
+    @unittest.skipIf(sys.platform.startswith('aix'),'broken test on AIX')
     def test_input_no_stdout_fileno(self):
         # Issue #24402: If stdin is the original terminal but stdout.fileno()
         # fails, do not use the original stdout file descriptor
--- ./Lib/test/test_pty.py_orig	2025-01-09 02:12:20.145195584 -0600
+++ ./Lib/test/test_pty.py	2025-01-09 02:14:07.918535124 -0600
@@ -191,6 +191,7 @@
         s2 = _readline(master_fd)
         self.assertEqual(b'For my pet fish, Eric.\n', normalize_output(s2))
 
+    @unittest.skipIf(sys.platform.startswith('aix'),'broken test on AIX') 
     def test_fork(self):
         debug("calling pty.fork()")
         pid, master_fd = pty.fork()
@@ -292,6 +293,7 @@
 
         self.assertEqual(data, b"")
 
+    @unittest.skipIf(sys.platform.startswith('aix'),'broken test on AIX')
     def test_spawn_doesnt_hang(self):
         self.addCleanup(unlink, TESTFN)
         with open(TESTFN, 'wb') as f:
