Skip to content

Commit

Permalink
Fix typos in test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramveer Singh committed Jan 15, 2025
1 parent 14d212c commit 98aaf9d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_eda.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_good_data_no_color(iris_data):

# Assert x's are correct
feature_names = iris_data.columns.tolist()
feature_names = feature_names.remove('species')
feature_names.remove('species')

feats_used = []
for i in range(len(plot.concat)):
Expand All @@ -37,7 +37,7 @@ def test_good_data_color(iris_data):

# Assert x's are correct
feature_names = iris_data.columns.tolist()
feature_names = feature_names.remove('species')
feature_names.remove('species')

feats_used = []
for i in range(len(plot.concat)):
Expand All @@ -47,4 +47,5 @@ def test_good_data_color(iris_data):
feats_used), 'All x variables are not used!'

# Assert color is `species`
assert plot.concat[0].layer[0].color.shorthand == 'species', 'The wrong column is used for coloring!'
assert plot.concat[0].layer[0].encoding.color.shorthand == 'species', 'The wrong column is used for coloring!'

0 comments on commit 98aaf9d

Please sign in to comment.