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
7fdfc388
Kaydet (Commit)
7fdfc388
authored
Agu 20, 2001
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use test_support.requires() to decide whether additional largefile
tests should be run.
üst
08fca521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
test_largefile.py
Lib/test/test_largefile.py
+8
-7
No files found.
Lib/test/test_largefile.py
Dosyayı görüntüle @
7fdfc388
...
...
@@ -30,13 +30,14 @@ size = 2500000000L
name
=
test_support
.
TESTFN
# on Windows this test comsumes large resources:
# it takes a long time to build the >2GB file and takes >2GB of disk space
# therefore test_support.use_large_resources must be defined to run this test
if
sys
.
platform
[:
3
]
==
'win'
and
not
test_support
.
use_large_resources
:
raise
test_support
.
TestSkipped
,
\
"test requires
%
s bytes and a long time to run"
%
str
(
size
)
# On Windows this test comsumes large resources; It takes a long time to build
# the >2GB file and takes >2GB of disk space therefore the resource must be
# enabled to run this test. If not, nothing after this line stanza will be
# executed.
if
sys
.
platform
[:
3
]
==
'win'
:
test_support
.
requires
(
'largefile'
,
'test requires
%
s bytes and a long time to run'
%
str
(
size
))
def
expect
(
got_this
,
expect_this
):
...
...
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