Skip to content

Commit 4eba788

Browse files
committed
issue #158: 2nd fix of unicode issue with python-2.7.
1 parent d8d12c4 commit 4eba788

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jsonschema/tests/test_benchmarks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#-*- coding: utf-8 -*-
1+
#-*- coding: latin-8 -*-
22

33
from math import sqrt
44
from textwrap import dedent
@@ -235,7 +235,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
235235
'$ref': '#/definitions/positiveNumber',
236236
'description': dedent("""
237237
The test mass of the vehicle used in all calculations (kg),
238-
as defined in Annex 4.2.1.3.1, pg 94.
238+
as defined in Annex 4.2.1.3.1, pg 94.
239239
"""),
240240
},
241241
'v_max': {
@@ -268,7 +268,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
268268
'n_idle': {
269269
'title': 'idling revolutions',
270270
'$ref': '#/definitions/positiveNumber',
271-
'description': 'The idling engine revolutions (Annex 1).',
271+
'description': 'The idling engine revolutions (Annex 1).',
272272
},
273273
'n_min': {
274274
'title': 'minimum engine revolutions',
@@ -296,7 +296,7 @@ def _get_model_schema(additional_properties=False, for_prevalidation=False):
296296
'maxItems': 3,
297297
'description': dedent("""
298298
The 3 driving resistance coefficients f0, f1, f2,
299-
in N, N/(km/h), and N/(km/h)² respectively (Annex 4).
299+
in N, N/(km/h), and N/(km/h)² respectively (Annex 4).
300300
301301
If not specified, they are determined based on ``test_mass`` from
302302
a pre-calculated regression curve:

0 commit comments

Comments
 (0)