##// END OF EJS Templates
Merge pull request #13206 from sgaist/nose_cleanup_first_step...
Merge pull request #13206 from sgaist/nose_cleanup_first_step Nose cleanup first step

File last commit:

r26926:8be458e9
r26949:24290cb1 merge
Show More
test_sysinfo.py
16 lines | 365 B | text/x-python | PythonLexer
# coding: utf-8
"""Test suite for our sysinfo utilities."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import json
from IPython.utils import sysinfo
def test_json_getsysinfo():
"""
test that it is easily jsonable and don't return bytes somewhere.
"""
json.dumps(sysinfo.get_sys_info())