Skip to content

Commit

Permalink
corrected for linting mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidberenstein1957 committed Jan 12, 2023
1 parent 84398ce commit 88fecc9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_model_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ def test_sense2vec():
# -*- coding: utf-8 -*-
import requests
import spacy
from sense2vec import Sense2Vec

import concise_concepts # noqa: F401
from concise_concepts.examples.data import data, text, text_fuzzy
from concise_concepts.examples.data import data, text

model_path = "s2v_old"
# download .tar.gz file an URL
Expand All @@ -101,9 +100,6 @@ def test_sense2vec():
tar.extractall()
tar.close()

import concise_concepts # noqa: F401
from concise_concepts.examples.data import data, text

nlp = spacy.load("en_core_web_md")

nlp.add_pipe("concise_concepts", config={"data": data, "model_path": model_path})
Expand Down

0 comments on commit 88fecc9

Please sign in to comment.