diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-09-28 16:57:22 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-09-28 16:57:22 (GMT) |
commit | a2f93885b07bd3e78d803e83a4a8d893273e6642 (patch) | |
tree | b905c9a223a4dddcbecc7405e4010d7f2aaec97b /Lib/test/test_bytes.py | |
parent | c081262be6ceed935f56e9d21a9cefe02097223e (diff) | |
parent | c31f12d196455e916fcbcffc2cc2a3329abe70ed (diff) | |
download | cpython-a2f93885b07bd3e78d803e83a4a8d893273e6642.zip cpython-a2f93885b07bd3e78d803e83a4a8d893273e6642.tar.gz cpython-a2f93885b07bd3e78d803e83a4a8d893273e6642.tar.bz2 |
merge 3.4 (#22379)
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r-- | Lib/test/test_bytes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py index db7c1b7..23a411e 100644 --- a/Lib/test/test_bytes.py +++ b/Lib/test/test_bytes.py @@ -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): |