Skip to content
Myr

Fixed tests for python 2.x.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Герасименко Евгений · committed by Герасименко Евгений · parent 1c34ac3 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_utils.py+1 added-1 removed
280 unmodified lines
281 ('utf-32-be', 'utf-32'),282 ('utf-32-le', 'utf-32')283 ))284 def test_guess_by_bom(self, encoding, expected):285 data = '\ufeff{}'.encode(encoding)285 data = u'\ufeff{}'.encode(encoding)286 assert guess_json_utf(data) == expected287288289USER = PASSWORD = "%!*'();:@&=+$,/?#[] "
266 unmodified lines