mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 23:32:49 +00:00
13 lines
578 B
Diff
13 lines
578 B
Diff
Index: Python-3.3.0b1/Lib/test/test_posix.py
|
|
===================================================================
|
|
--- Python-3.3.0b1.orig/Lib/test/test_posix.py 2012-06-26 22:19:48.000000000 +0200
|
|
+++ Python-3.3.0b1/Lib/test/test_posix.py 2012-08-03 14:06:26.000000000 +0200
|
|
@@ -231,7 +231,7 @@
|
|
def test_posix_fadvise(self):
|
|
fd = os.open(support.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)
|
|
|