Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix Sound Classifier Unit Test (#3083)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRoseman authored Apr 2, 2020
1 parent 75f27e8 commit 73dad21
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/python/turicreate/test/test_image_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import coremltools
import numpy as np
import pytest
import turicreate as tc


Expand Down Expand Up @@ -207,11 +206,6 @@ def test_junk_input(self):
predictions = model.classify("more junk")

def test_export_coreml(self):
if self.model.model == "VisionFeaturePrint_Scene":
pytest.xfail(
"Expected failure until "
+ "https://github.com/apple/turicreate/issues/2744 is fixed"
)
filename = tempfile.NamedTemporaryFile(suffix=".mlmodel").name
self.model.export_coreml(filename)

Expand All @@ -228,7 +222,7 @@ def test_export_coreml(self):
)
expected_result = (
"Image classifier (%s) created by Turi Create (version %s)"
% (self.model.model, tc.__version__)
% (self.model.model.lower(), tc.__version__)
)
self.assertEquals(expected_result, coreml_model.short_description)

Expand Down

0 comments on commit 73dad21

Please sign in to comment.