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
5ea7f93d
Kaydet (Commit)
5ea7f93d
authored
Eki 17, 2013
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make asyncio tests run on Windows.
üst
27b7c7eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
test_streams.py
Lib/test/test_asyncio/test_streams.py
+4
-1
test_unix_events.py
Lib/test/test_asyncio/test_unix_events.py
+3
-0
test_windows_utils.py
Lib/test/test_asyncio/test_windows_utils.py
+5
-1
No files found.
Lib/test/test_asyncio/test_streams.py
Dosyayı görüntüle @
5ea7f93d
"""Tests for streams.py."""
"""Tests for streams.py."""
import
gc
import
gc
import
ssl
import
unittest
import
unittest
import
unittest.mock
import
unittest.mock
try
:
import
ssl
except
ImportError
:
ssl
=
None
from
asyncio
import
events
from
asyncio
import
events
from
asyncio
import
streams
from
asyncio
import
streams
...
...
Lib/test/test_asyncio/test_unix_events.py
Dosyayı görüntüle @
5ea7f93d
...
@@ -10,6 +10,9 @@ import sys
...
@@ -10,6 +10,9 @@ import sys
import
unittest
import
unittest
import
unittest.mock
import
unittest.mock
if
sys
.
platform
==
'win32'
:
raise
unittest
.
SkipTest
(
'UNIX only'
)
from
asyncio
import
events
from
asyncio
import
events
from
asyncio
import
futures
from
asyncio
import
futures
...
...
Lib/test/test_asyncio/test_windows_utils.py
Dosyayı görüntüle @
5ea7f93d
...
@@ -11,7 +11,11 @@ if sys.platform != 'win32':
...
@@ -11,7 +11,11 @@ if sys.platform != 'win32':
import
_winapi
import
_winapi
from
asyncio
import
windows_utils
from
asyncio
import
windows_utils
from
asyncio
import
_overlapped
try
:
import
_overlapped
except
ImportError
:
from
asyncio
import
_overlapped
class
WinsocketpairTests
(
unittest
.
TestCase
):
class
WinsocketpairTests
(
unittest
.
TestCase
):
...
...
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