Skip to content

Commit 64b3976

Browse files
Apply ruff/pyupgrade rule UP018
Unnecessary `int` call (rewrite as a literal)
1 parent dc89734 commit 64b3976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def test_multiline_with_wide_characters():
341341

342342
def test_align_long_integers():
343343
"Regression: long integers should be aligned as integers (issue #61)"
344-
table = [[int(1)], [int(234)]]
344+
table = [[1], [234]]
345345
result = tabulate(table, tablefmt="plain")
346346
expected = "\n".join([" 1", "234"])
347347
assert_equal(expected, result)

0 commit comments

Comments
 (0)