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
87fc9ad9
Kaydet (Commit)
87fc9ad9
authored
Eki 19, 2007
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
squelch the warning that this test is supposed to trigger.
üst
11e679e6
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 @
87fc9ad9
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
import
shutil
import
shutil
import
tempfile
import
tempfile
import
warnings
try
:
try
:
# For Pythons w/distutils and add-on pybsddb
# For Pythons w/distutils and add-on pybsddb
from
bsddb3
import
db
from
bsddb3
import
db
...
@@ -32,8 +33,12 @@ class Context:
...
@@ -32,8 +33,12 @@ class Context:
del
self
.
the_txn
del
self
.
the_txn
context
=
Context
()
warnings
.
filterwarnings
(
'ignore'
,
'DBTxn aborted in destructor'
)
del
context
try
:
context
=
Context
()
del
context
finally
:
warnings
.
resetwarnings
()
# try not to leave a turd
# try not to leave a turd
try
:
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