diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-06-21 08:11:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 08:11:17 (GMT) |
commit | f9bab74d5b34c64cf061e1629ff5f3092a4ca9b3 (patch) | |
tree | 6300c872eefba9992cebe7ec5efccaa8ea0d8347 /Lib/test/test_unicode.py | |
parent | 19fcffa92773e008e4f5efb80047420a0cfafeec (diff) | |
download | cpython-f9bab74d5b34c64cf061e1629ff5f3092a4ca9b3.zip cpython-f9bab74d5b34c64cf061e1629ff5f3092a4ca9b3.tar.gz cpython-f9bab74d5b34c64cf061e1629ff5f3092a4ca9b3.tar.bz2 |
bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006)
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 2ee4e64..6e39716 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -2215,22 +2215,6 @@ class UnicodeTest(string_tests.CommonTest, self.assertEqual(("abc" "def" "ghi"), "abcdefghi") self.assertEqual(("abc" "def" "ghi"), "abcdefghi") - def test_printing(self): - class BitBucket: - def write(self, text): - pass - - out = BitBucket() - print('abc', file=out) - print('abc', 'def', file=out) - print('abc', 'def', file=out) - print('abc', 'def', file=out) - print('abc\n', file=out) - print('abc\n', end=' ', file=out) - print('abc\n', end=' ', file=out) - print('def\n', file=out) - print('def\n', file=out) - def test_ucs4(self): x = '\U00100000' y = x.encode("raw-unicode-escape").decode("raw-unicode-escape") |