Skip to content

Commit 5c4c081

Browse files
committed
Removed test code unrelated to utf-8 checks
1 parent 08f4891 commit 5c4c081

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

testsuite/utf-8.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
4-
class Rectangle(Blob):
5-
6-
def __init__(self, width, height,
7-
color='black', emphasis=None, highlight=0):
8-
if width == 0 and height == 0 and \
9-
color == 'red' and emphasis == 'strong' or \
10-
highlight > 100:
11-
raise ValueError("sorry, you lose")
12-
if width == 0 and height == 0 and (color == 'red' or
13-
emphasis is None):
14-
raise ValueError("I don't think so -- values are %s, %s" %
15-
(width, height))
16-
Blob.__init__(self, width, height,
17-
color, emphasis, highlight)
18-
19-
203
# Some random text with multi-byte characters (utf-8 encoded)
214
#
225
# Εδώ μάτσο κειμένων τη, τρόπο πιθανό διευθυντές ώρα μη. Νέων απλό παράγει ροή

0 commit comments

Comments
 (0)