@@ -105,12 +105,12 @@ def mock_isatty():
105
105
assert "\033 [1;96m'A' segments\033 [0m" in captured .out
106
106
107
107
assert (
108
- f"\033 [32m(545,0)\033 [0m (459,221): \033 [1;96mLINE\033 [0m 237.14 units{ os . linesep } "
108
+ f"\033 [32m(545,0)\033 [0m (459,221): \033 [1;96mLINE\033 [0m 237.14 units\n "
109
109
f"(459,221) (176,221): \033 [1;96mLINE\033 [0m 283.00 units"
110
110
) in captured .out
111
111
112
112
assert (
113
- f"(287,517) (206,301): \033 [1;96mLINE\033 [0m 230.69 units{ os . linesep } "
113
+ f"(287,517) (206,301): \033 [1;96mLINE\033 [0m 230.69 units\n "
114
114
f"\033 [31m(206,301)\033 [0m \033 [32m(432,301)\033 [0m: \033 [1;96mLINE\033 [0m 226.00 units"
115
115
) in captured .out
116
116
@@ -130,12 +130,12 @@ def mock_isatty():
130
130
assert "'A' segments" in captured .out
131
131
132
132
assert (
133
- f"(545,0) (459,221): LINE 237.14 units{ os . linesep } "
133
+ f"(545,0) (459,221): LINE 237.14 units\n "
134
134
f"(459,221) (176,221): LINE 283.00 units"
135
135
) in captured .out
136
136
137
137
assert (
138
- f"(287,517) (206,301): LINE 230.69 units{ os . linesep } "
138
+ f"(287,517) (206,301): LINE 230.69 units\n "
139
139
f"(206,301) (432,301): LINE 226.00 units"
140
140
) in captured .out
141
141
@@ -155,8 +155,8 @@ def mock_isatty():
155
155
assert "\033 [1;96m'uni2E2E' segments\033 [0m" in captured .out
156
156
157
157
assert (
158
- f "\033 [32m(303,201)\033 [0m (303,228): \033 [1;96mLINE\033 [0m 27.00 units{ os . linesep } "
159
- f "(303,228) (303,266) (296,294): \033 [1;96mQCURVE\033 [0m 66.53 units"
158
+ "\033 [32m(303,201)\033 [0m (303,228): \033 [1;96mLINE\033 [0m 27.00 units\n "
159
+ "(303,228) (303,266) (296,294): \033 [1;96mQCURVE\033 [0m 66.53 units"
160
160
) in captured .out
161
161
162
162
assert (
@@ -180,8 +180,8 @@ def mock_isatty():
180
180
assert "'uni2E2E' segments" in captured .out
181
181
182
182
assert (
183
- f "(303,201) (303,228): LINE 27.00 units{ os . linesep } "
184
- f "(303,228) (303,266) (296,294): QCURVE 66.53 units"
183
+ "(303,201) (303,228): LINE 27.00 units\n "
184
+ "(303,228) (303,266) (296,294): QCURVE 66.53 units"
185
185
) in captured .out
186
186
187
187
assert "(309,2) (326,18) (326,54): QCURVE 56.25 units" in captured .out
0 commit comments