Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
fix test import
Browse files Browse the repository at this point in the history
  • Loading branch information
Antares0982 committed Jun 1, 2024
1 parent f0bf792 commit fbc0878
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion python-test/test_append_newline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pyyjson

from .util import read_fixture_obj
from util import read_fixture_obj


class TestAppendNewline:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import pyyjson

from .util import read_fixture_str
from util import read_fixture_str

ASCII_TEST = b"""\
{
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pyyjson

from .util import read_fixture_bytes, read_fixture_str
from util import read_fixture_bytes, read_fixture_str


class TestFixture:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
except ImportError:
pandas = None # type: ignore

from .util import read_fixture_bytes
from util import read_fixture_bytes


class TestFragment:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_indent.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import pyyjson

from .util import read_fixture_obj
from util import read_fixture_obj


class TestIndentedOutput:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_issue331.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pyyjson

from .util import read_fixture_bytes
from util import read_fixture_bytes

FIXTURE_ISSUE_335 = {
"pfkrpavmb": "maxyjzmvacdwjfiifmzwbztjmnqdsjesykpf",
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_jsonchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pyyjson

from .util import read_fixture_str
from util import read_fixture_str

PATTERN_1 = '["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e34,"":2.3456789012e76,"zero":0,"one":1,"space":" ","quote":"\\"","backslash":"\\\\","controls":"\\b\\f\\n\\r\\t","slash":"/ & /","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","0123456789":"digit","special":"`1~!@#$%^&*()_+-={\':[,]}|;.</>?","hex":"ģ䕧覫췯ꯍ\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http://www.JSON.org/","comment":"// /* <!-- --","# -- --> */":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\\"object with 1 member\\":[\\"array with 1 element\\"]}","quotes":"&#34; \\" %22 0x22 034 &#x22;","/\\\\\\"쫾몾ꮘﳞ볚\uef4a\\b\\f\\n\\r\\t`1~!@#$%^&*()_+-=[]{}|;:\',./<>?":"A key can be any string"},0.5,98.6,99.44,1066,10.0,1.0,0.1,1.0,2.0,2.0,"rosebud"]'.encode()

Expand Down
2 changes: 1 addition & 1 deletion python-test/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pyyjson

from .util import read_fixture_bytes
from util import read_fixture_bytes


class TestJSONTestSuiteParsing:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pyyjson

from .util import read_fixture_str
from util import read_fixture_str


class TestJsonChecker:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_sort_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pyyjson

from .util import read_fixture_obj
from util import read_fixture_obj


class TestDictSortKeys:
Expand Down
2 changes: 1 addition & 1 deletion python-test/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pyyjson

from .util import read_fixture_bytes
from util import read_fixture_bytes


def _read_file(filename):
Expand Down

0 comments on commit fbc0878

Please sign in to comment.