mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
merge 3.4 (#22379)
This commit is contained in:
commit
a2f93885b0
4 changed files with 13 additions and 15 deletions
|
@ -298,6 +298,7 @@ class BaseBytesTest:
|
|||
seq = [b"abc"] * 1000
|
||||
expected = b"abc" + b".:abc" * 999
|
||||
self.assertEqual(dot_join(seq), expected)
|
||||
self.assertRaises(TypeError, self.type2test(b" ").join, None)
|
||||
# Error handling and cleanup when some item in the middle of the
|
||||
# sequence has the wrong type.
|
||||
with self.assertRaises(TypeError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue