From 5e1b6178e3dde9f9d82b8408678e95819e391878 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 12 Jan 2017 22:00:06 +0100 Subject: [PATCH] Fix formatting and consistency --- spacy/tests/integration/test_model_sanity.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spacy/tests/integration/test_model_sanity.py b/spacy/tests/integration/test_model_sanity.py index 10e66d28f..ec231baaf 100644 --- a/spacy/tests/integration/test_model_sanity.py +++ b/spacy/tests/integration/test_model_sanity.py @@ -1,4 +1,5 @@ -# -*- coding: utf-8 -*- +# coding: utf-8 + import pytest import numpy @@ -47,7 +48,7 @@ class TestModelSanity: def test_vectors(self, example): # if vectors are available, they should differ on different words - # this isn't a perfect test since this could in principle fail + # this isn't a perfect test since this could in principle fail # in a sane model as well, # but that's very unlikely and a good indicator if something is wrong vector0 = example[0].vector @@ -58,9 +59,9 @@ class TestModelSanity: assert not numpy.array_equal(vector1,vector2) def test_probs(self, example): - # if frequencies/probabilities are okay, they should differ for + # if frequencies/probabilities are okay, they should differ for # different words - # this isn't a perfect test since this could in principle fail + # this isn't a perfect test since this could in principle fail # in a sane model as well, # but that's very unlikely and a good indicator if something is wrong prob0 = example[0].prob