Skip to content

Commit 538c83b

Browse files
Update Lib/test/test_types.py
Co-authored-by: sobolevn <[email protected]>
1 parent 2233afe commit 538c83b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,10 @@ def test_gh131998(self):
655655
def call(part):
656656
part.pop()
657657
658+
call(['a'])
658659
try:
659-
call(['a'])
660660
call(list)
661-
except:
661+
except TypeError:
662662
pass
663663
"""
664664
assert_python_ok("-c", code)

0 commit comments

Comments
 (0)