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

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrochukM committed Jul 28, 2019
1 parent 7395228 commit a643ad9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/encoders/text/test_moses_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ def input_():
def encoder(input_):
return MosesEncoder([input_])

@pytest.mark.skipif(sys.version_info >= (3,7),
reason="Running NLTK moses with Python 3.7 halts on travis.")

@pytest.mark.skipif(
sys.version_info >= (3, 7), reason="Running NLTK moses with Python 3.7 halts on travis.")
def test_moses_encoder(encoder, input_):
# TEST adapted from example in http://www.nltk.org/_modules/nltk/tokenize/moses.html
expected_tokens = [
Expand Down

0 comments on commit a643ad9

Please sign in to comment.