forked from pool/python312
Matej Cepl
c8f2873f34
- Add 00398-fix-stack-overwrite-on-32-bit-in-perf-map-test-harness-gh-104811-104823.patch gh#python/cpython#104811 - Refresh all patches - Update to 3.12.0b1: Full changelog can be found here https://docs.python.org/dev/whatsnew/changelog.html#python-3-12-0-beta-1 OBS-URL: https://build.opensuse.org/request/show/1090373 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=7
18 lines
635 B
Diff
18 lines
635 B
Diff
---
|
|
Lib/test/test_posix.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: Python-3.12.0b1/Lib/test/test_posix.py
|
|
===================================================================
|
|
--- Python-3.12.0b1.orig/Lib/test/test_posix.py
|
|
+++ Python-3.12.0b1/Lib/test/test_posix.py
|
|
@@ -431,7 +431,7 @@ class PosixTester(unittest.TestCase):
|
|
def test_posix_fadvise(self):
|
|
fd = os.open(os_helper.TESTFN, os.O_RDONLY)
|
|
try:
|
|
- posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_WILLNEED)
|
|
+ posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_RANDOM)
|
|
finally:
|
|
os.close(fd)
|
|
|