this test will only work on 64-bit machines
diff --git a/Lib/test/test_file2k.py b/Lib/test/test_file2k.py
index 14e5931..cab4079 100644
--- a/Lib/test/test_file2k.py
+++ b/Lib/test/test_file2k.py
@@ -436,6 +436,7 @@
         finally:
             f.close()
 
+    @unittest.skipUnless(sys.maxsize > 2**31, "requires 64-bit system")
     @test_support.precisionbigmemtest(2**31, 1)
     def test_very_long_line(self, maxsize):
         # Issue #22526