Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian committed Sep 17, 2024
1 parent cfdc277 commit d6e5e5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ def test_concatenate_empty_tables():
def test_concatenate_no_validate():
class ValidationTable(qv.Table):
x = qv.Int64Column(validator=qv.ge(0))

t1 = ValidationTable.from_kwargs(x=[-1], validate=False)
t2 = ValidationTable.from_kwargs(x=[1], validate=False)

with pytest.raises(qv.ValidationError, match="Column x failed validation"):
qv.concatenate([t1, t2])

have = qv.concatenate([t1, t2], validate=False)
assert len(have) == 2

Expand Down

0 comments on commit d6e5e5e

Please sign in to comment.