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
dd4b025a
Kaydet (Commit)
dd4b025a
authored
Eki 19, 2007
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport 58539: squelch the warning that this test is intended to raise.
üst
0dcc3cc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
test_1413192.py
Lib/bsddb/test/test_1413192.py
+7
-2
No files found.
Lib/bsddb/test/test_1413192.py
Dosyayı görüntüle @
dd4b025a
...
...
@@ -5,6 +5,7 @@
import
shutil
import
tempfile
import
warnings
try
:
# For Pythons w/distutils and add-on pybsddb
from
bsddb3
import
db
...
...
@@ -32,8 +33,12 @@ class Context:
del
self
.
the_txn
context
=
Context
()
del
context
warnings
.
filterwarnings
(
'ignore'
,
'DBTxn aborted in destructor'
)
try
:
context
=
Context
()
del
context
finally
:
warnings
.
resetwarnings
()
# try not to leave a turd
try
:
...
...
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