Debian Codegraph @

tests/test_sysinfo.py

raw
1 # coding: utf-8
2 """Test suite for our sysinfo utilities."""
3
4 # Copyright (c) IPython Development Team.
5 # Distributed under the terms of the Modified BSD License.
6
7 import json
8 import pytest
9
10 from IPython.utils import sysinfo
11
12
13 def test_json_getsysinfo():
14 """
15 test that it is easily jsonable and don't return bytes somewhere.
16 """
17 json.dumps(sysinfo.get_sys_info())