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
db4a2ef2
Kaydet (Commit)
db4a2ef2
authored
Kas 12, 2007
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Another fix for #1414
üst
f19169f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
test_frozen.py
Lib/test/test_frozen.py
+0
-1
test_pkg.py
Lib/test/test_pkg.py
+5
-1
No files found.
Lib/test/test_frozen.py
Dosyayı görüntüle @
db4a2ef2
...
...
@@ -4,7 +4,6 @@ from __future__ import with_statement
from
test.test_support
import
captured_stdout
,
run_unittest
import
unittest
import
sys
,
os
import
warnings
class
FrozenTests
(
unittest
.
TestCase
):
def
test_frozen
(
self
):
...
...
Lib/test/test_pkg.py
Dosyayı görüntüle @
db4a2ef2
...
...
@@ -43,14 +43,18 @@ def fixdir(lst):
# from package import * (defined in __init__)
class
Test
(
unittest
.
TestCase
):
class
Test
Pkg
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
root
=
None
self
.
syspath
=
list
(
sys
.
path
)
self
.
sysmodules
=
sys
.
modules
.
copy
()
def
tearDown
(
self
):
sys
.
path
[:]
=
self
.
syspath
sys
.
modules
.
clear
()
sys
.
modules
.
update
(
self
.
sysmodules
)
del
self
.
sysmodules
cleanout
(
self
.
root
)
def
run_code
(
self
,
code
):
...
...
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