Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
46544f69
Unverified
Kaydet (Commit)
46544f69
authored
Nis 13, 2019
tarafından
Pablo Galindo
Kaydeden (comit)
GitHub
Nis 13, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Skip test_preadv_flags if RWF_HIPRI is not supported by the system (GH-12762)
üst
f2cf1e3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
test_posix.py
Lib/test/test_posix.py
+8
-0
No files found.
Lib/test/test_posix.py
Dosyayı görüntüle @
46544f69
...
...
@@ -310,6 +310,14 @@ class PosixTester(unittest.TestCase):
buf
=
[
bytearray
(
i
)
for
i
in
[
5
,
3
,
2
]]
self
.
assertEqual
(
posix
.
preadv
(
fd
,
buf
,
3
,
os
.
RWF_HIPRI
),
10
)
self
.
assertEqual
([
b
't1tt2'
,
b
't3t'
,
b
'5t'
],
list
(
buf
))
except
OSError
as
inst
:
# Is possible that the macro RWF_HIPRI was defined at compilation time
# but the option is not supported by the kernel or the runtime libc shared
# library.
if
inst
.
errno
in
{
errno
.
EINVAL
,
errno
.
ENOTSUP
}:
raise
unittest
.
SkipTest
(
"RWF_HIPRI is not supported by the current system"
)
else
:
raise
finally
:
os
.
close
(
fd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment