summaryrefslogtreecommitdiff
path: root/q2_sample_classifier/tests/test_estimators.py
diff options
context:
space:
mode:
Diffstat (limited to 'q2_sample_classifier/tests/test_estimators.py')
-rw-r--r--q2_sample_classifier/tests/test_estimators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/q2_sample_classifier/tests/test_estimators.py b/q2_sample_classifier/tests/test_estimators.py
index 95fd084..f8d9d66 100644
--- a/q2_sample_classifier/tests/test_estimators.py
+++ b/q2_sample_classifier/tests/test_estimators.py
@@ -135,7 +135,7 @@ class EstimatorsTests(SampleClassifierTestPluginBase):
dv = DictVectorizer()
dv.fit(dicts)
features = table.ids('observation')
- self.assertEqual(set(dv.get_feature_names()), set(features))
+ self.assertEqual(set(dv.get_feature_names_out()), set(features))
self.assertEqual(len(dicts), len(table.ids()))
for dict_row, (table_row, _, _) in zip(dicts, table.iter()):
for feature, count in zip(features, table_row):