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
19c9b604
Kaydet (Commit)
19c9b604
authored
Mar 04, 2010
tarafından
Dirkjan Ochtman
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Try to fix buildbot breakage from r78384.
Thanks bitdancer and briancurtin for the help.
üst
3f3330f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test_csv.py
Lib/test/test_csv.py
+2
-1
No files found.
Lib/test/test_csv.py
Dosyayı görüntüle @
19c9b604
...
...
@@ -9,6 +9,7 @@ from StringIO import StringIO
import
tempfile
import
csv
import
gc
import
io
from
test
import
test_support
class
Test_Csv
(
unittest
.
TestCase
):
...
...
@@ -595,7 +596,7 @@ class TestDictFields(unittest.TestCase):
### "short" means there are fewer elements in the row than fieldnames
def
test_write_simple_dict
(
self
):
fd
,
name
=
tempfile
.
mkstemp
()
fileobj
=
os
.
fdopen
(
fd
,
"w+b"
)
fileobj
=
io
.
open
(
fd
,
'w+b'
)
try
:
writer
=
csv
.
DictWriter
(
fileobj
,
fieldnames
=
[
"f1"
,
"f2"
,
"f3"
])
writer
.
writeheader
()
...
...
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