mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
This commit is contained in:
parent
4854c969fb
commit
bc27c6a5aa
10 changed files with 89 additions and 91 deletions
|
@ -841,9 +841,9 @@ class AssortedBytesTest(unittest.TestCase):
|
|||
self.assertEqual(bytes(b"abc") <= b"ab", False)
|
||||
|
||||
def test_doc(self):
|
||||
self.assertTrue(bytearray.__doc__ != None)
|
||||
self.assertIsNotNone(bytearray.__doc__)
|
||||
self.assertTrue(bytearray.__doc__.startswith("bytearray("), bytearray.__doc__)
|
||||
self.assertTrue(bytes.__doc__ != None)
|
||||
self.assertIsNotNone(bytes.__doc__)
|
||||
self.assertTrue(bytes.__doc__.startswith("bytes("), bytes.__doc__)
|
||||
|
||||
def test_from_bytearray(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue