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
ed19fcec
Kaydet (Commit)
ed19fcec
authored
Tem 20, 2012
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix another import error.
üst
86ae981d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test_namespace_pkgs.py
Lib/test/test_namespace_pkgs.py
+2
-2
No files found.
Lib/test/test_namespace_pkgs.py
Dosyayı görüntüle @
ed19fcec
...
...
@@ -3,7 +3,7 @@ import contextlib
import
unittest
import
os
import
importlib.test.
util
from
test.test_importlib
import
util
from
test.support
import
run_unittest
# needed tests:
...
...
@@ -46,7 +46,7 @@ def namespace_tree_context(**kwargs):
# use default meta_path and path_hooks unless specified otherwise
kwargs
.
setdefault
(
'meta_path'
,
sys
.
meta_path
)
kwargs
.
setdefault
(
'path_hooks'
,
sys
.
path_hooks
)
import_context
=
importlib
.
test
.
util
.
import_state
(
**
kwargs
)
import_context
=
util
.
import_state
(
**
kwargs
)
with
import_context
,
sys_modules_context
():
yield
...
...
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