--- ./Lib/test/test_builtin.py_orig	2026-07-13 01:00:40.631140524 -0400
+++ ./Lib/test/test_builtin.py	2026-07-13 01:01:58.407582295 -0400
@@ -2738,6 +2738,7 @@
                          "byte 0xe9 in position 4: ordinal not in "
                          "range(128)")
 
+    @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	2026-07-13 01:03:03.081367971 -0400
+++ ./Lib/test/test_pty.py	2026-07-13 01:04:28.563756844 -0400
@@ -194,6 +194,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()
@@ -295,6 +296,7 @@
 
         self.assertEqual(data, b"")
 
+    @unittest.skipIf(sys.platform.startswith('aix'),'broken test on AIX') 
     def test_spawn_doesnt_hang(self):
         # gh-140482: Do the test in a pty.fork() child to avoid messing
         # with the interactive test runner's terminal settings.
