Skip to content

Commit ca385d2

Browse files
A round of black to pass CI tests
1 parent 1f49977 commit ca385d2

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

test/test_internal.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ def test_wrap_text_wide_chars():
180180
except ImportError:
181181
skip("test_wrap_text_wide_chars is skipped")
182182

183-
rows = [["청자청자청자청자청자", "약간 감싸면 더 잘 보일 수있는 다소 긴 설명입니다"]]
183+
rows = [
184+
["청자청자청자청자청자", "약간 감싸면 더 잘 보일 수있는 다소 긴 설명입니다"]
185+
]
184186
widths = [5, 20]
185187
expected = [
186188
[
@@ -244,7 +246,14 @@ def test_wrap_text_to_colwidths_colors_wide_char():
244246
except ImportError:
245247
skip("test_wrap_text_to_colwidths_colors_wide_char is skipped")
246248

247-
data = [[("\033[31m약간 감싸면 더 잘 보일 수있는 다소 긴" " 설명입니다 설명입니다 설명입니다 설명입니다 설명\033[0m")]]
249+
data = [
250+
[
251+
(
252+
"\033[31m약간 감싸면 더 잘 보일 수있는 다소 긴"
253+
" 설명입니다 설명입니다 설명입니다 설명입니다 설명\033[0m"
254+
)
255+
]
256+
]
248257
result = T._wrap_text_to_colwidths(data, [30])
249258

250259
expected = [

test/test_output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test output of the various forms of tabular data."""
2+
23
from pytest import mark
34

45
from common import assert_equal, raises, skip, check_warnings

test/test_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def test_preserve_line_breaks_with_maxcolwidths():
490490

491491
def test_maxcolwidths_accepts_list_or_tuple():
492492
"Regression: maxcolwidths can accept a list or a tuple (github issue #214)"
493-
table = [["lorem ipsum dolor sit amet"]*3]
493+
table = [["lorem ipsum dolor sit amet"] * 3]
494494
expected = "\n".join(
495495
[
496496
"+-------------+----------+----------------------------+",

test/test_textwrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Discretely test functionality of our custom TextWrapper"""
2+
23
import datetime
34

45
from tabulate import _CustomTextWrap as CTW, tabulate

0 commit comments

Comments
 (0)