mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Suppress duplicated name warning during generating test files
This commit is contained in:
parent
8b4f709555
commit
7b7f54a1cf
1 changed files with 4 additions and 1 deletions
|
|
@ -1440,6 +1440,9 @@ def test_duplicated_arcname(self):
|
||||||
for index in dups:
|
for index in dups:
|
||||||
indexes = [index]
|
indexes = [index]
|
||||||
with self.subTest(dups=dups, remove=indexes):
|
with self.subTest(dups=dups, remove=indexes):
|
||||||
|
import warnings
|
||||||
|
with warnings.catch_warnings():
|
||||||
|
warnings.simplefilter("ignore")
|
||||||
self._test_removing_members(files, indexes)
|
self._test_removing_members(files, indexes)
|
||||||
|
|
||||||
def test_non_physical(self):
|
def test_non_physical(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue