diff --git a/docs/api/index.rst b/docs/api/index.rst index 35e9f6a08..4b7aaa092 100644 --- a/docs/api/index.rst +++ b/docs/api/index.rst @@ -58,7 +58,6 @@ For those of you who want the gritty details. xonsh.lib xonsh.tools xonsh.platform - xonsh.jsonutils xonsh.lazyjson xonsh.lazyasd xonsh.openpy diff --git a/tests/test_jsonutils.py b/tests/lib/test_jsonutils.py similarity index 90% rename from tests/test_jsonutils.py rename to tests/lib/test_jsonutils.py index bbbd8e48b..0e20f24c5 100644 --- a/tests/test_jsonutils.py +++ b/tests/lib/test_jsonutils.py @@ -4,7 +4,7 @@ import json import pytest -from xonsh.jsonutils import serialize_xonsh_json +from xonsh.lib.jsonutils import serialize_xonsh_json from xonsh.tools import EnvPath diff --git a/xonsh/jsonutils.py b/xonsh/lib/jsonutils.py similarity index 100% rename from xonsh/jsonutils.py rename to xonsh/lib/jsonutils.py diff --git a/xonsh/wizard.py b/xonsh/wizard.py index 3e1008139..9b05aa3f0 100644 --- a/xonsh/wizard.py +++ b/xonsh/wizard.py @@ -11,7 +11,7 @@ import textwrap import typing as tp from xonsh.built_ins import XSH -from xonsh.jsonutils import serialize_xonsh_json +from xonsh.lib.jsonutils import serialize_xonsh_json from xonsh.tools import backup_file, print_color, to_bool, to_bool_or_break