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
9bab5249
Kaydet (Commit)
9bab5249
authored
Agu 03, 2010
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix deprecation warnings in test_commands.py
üst
8a078d5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test_commands.py
Lib/test/test_commands.py
+4
-4
No files found.
Lib/test/test_commands.py
Dosyayı görüntüle @
9bab5249
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
import
unittest
import
unittest
import
os
,
tempfile
,
re
import
os
,
tempfile
,
re
from
test.test_support
import
run_unittest
,
reap_children
,
import_module
,
\
from
test.test_support
import
(
run_unittest
,
reap_children
,
import_module
,
check_warnings
check_warnings
)
from
test.test_support
import
TestSkipped
,
run_unittest
,
reap_children
,
import_module
from
test.test_support
import
TestSkipped
,
run_unittest
,
reap_children
,
import_module
# Silence Py3k warning
# Silence Py3k warning
...
@@ -57,8 +57,8 @@ class CommandTests(unittest.TestCase):
...
@@ -57,8 +57,8 @@ class CommandTests(unittest.TestCase):
[^/]* # Skip user, group, size, and date.
[^/]* # Skip user, group, size, and date.
/\. # and end with the name of the file.
/\. # and end with the name of the file.
'''
'''
with
check_warnings
(
quiet
=
True
):
self
.
assertTrue
(
re
.
match
(
pat
,
getstatus
(
"/."
),
re
.
VERBOSE
))
self
.
assertTrue
(
re
.
match
(
pat
,
getstatus
(
"/."
),
re
.
VERBOSE
))
def
test_main
():
def
test_main
():
...
...
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