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
22f2c0e2
Kaydet (Commit)
22f2c0e2
authored
Eyl 03, 2015
tarafından
Senthil Kumaran
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix test_wsgiref execution from the test module.
üst
26afae40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test_wsgiref.py
Lib/test/test_wsgiref.py
+2
-3
No files found.
Lib/test/test_wsgiref.py
Dosyayı görüntüle @
22f2c0e2
from
__future__
import
nested_scopes
# Backward compat for 2.1
from
unittest
import
TestCase
from
wsgiref.util
import
setup_testing_defaults
from
wsgiref.headers
import
Headers
from
wsgiref.handlers
import
BaseHandler
,
BaseCGIHandler
from
wsgiref
import
util
from
wsgiref.validate
import
validator
from
wsgiref.simple_server
import
WSGIServer
,
WSGIRequestHandler
,
demo_app
from
wsgiref.simple_server
import
WSGIServer
,
WSGIRequestHandler
from
wsgiref.simple_server
import
make_server
from
io
import
StringIO
,
BytesIO
,
BufferedReader
from
socketserver
import
BaseServer
...
...
@@ -14,8 +13,8 @@ from platform import python_implementation
import
os
import
re
import
sys
import
unittest
from
test
import
support
class
MockServer
(
WSGIServer
):
"""Non-socket HTTP server"""
...
...
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