Skip to content

Commit f7a8813

Browse files
authored
Merge pull request #669 from MossIV/tables_with_columns_test
Implemented test case for with_columns function
2 parents b441145 + ee0c7c2 commit f7a8813

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_tables.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,3 +1995,9 @@ def test_num_columns(table):
19951995
"""Test that Tables returns right number of columns"""
19961996
number = table.num_columns
19971997
assert number == 3
1998+
1999+
def test_with_columns(table):
2000+
"""Test that with_columns returns self if no labels_and_values passed"""
2001+
t = table.with_columns()
2002+
2003+
assert table is t

0 commit comments

Comments
 (0)