Skip to content

Commit

Permalink
Merge d46f790 into ca8a823
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrying123 committed Sep 7, 2023
2 parents ca8a823 + d46f790 commit 9cc3d7d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,15 @@ def test_join_conflicting_column_names(table, table4):
c | 3 | 2 | 6 | 2 | 2 | Epsilon
""")

def test_join_no_rows():
t1 = Table(['letter'])
t2 = Table(['letter'])
t2.append(['b'])
t3 = t1.join('letter', t2)
assert t3 == None
t4 = t2.join('letter', t1)
assert t4 == None

def test_percentile(numbers_table):
assert_equal(numbers_table.percentile(76), """
count | points
Expand Down

0 comments on commit 9cc3d7d

Please sign in to comment.