We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4133aa8 commit dd13348Copy full SHA for dd13348
1 file changed
test_fonts.py
@@ -50,6 +50,17 @@
50
51
rootdir = path.dirname(__file__)
52
53
+def teststrgen():
54
+ s = ""
55
+ for i in range(256):
56
+ if i != 9 and i != 13 and i != 10:
57
+ s += chr(i)
58
+ else:
59
+ s += " "
60
+ if (i + 1) % 16 == 0:
61
+ s += "\n"
62
+ return s
63
+
64
65
class TestFontfilefunc(unittest.TestCase):
66
@@ -58,18 +69,6 @@ class TestFontfilefunc(unittest.TestCase):
69
outputdir = f'{rootdir}/test_output/'
70
c = getX11colorname2RGBdict()
71
c1 = getcolorname2RGBdict()
-
- def teststrgen():
- s = ""
- for i in range(256):
- if i != 9 and i != 13 and i != 10:
- s += chr(i)
67
- else:
68
- s += " "
- if (i + 1) % 16 == 0:
- s += "\n"
- return s
72
73
teststr = teststrgen()
74
rainbow = (c1['brightred'],
75
c1['brightorange'],
0 commit comments