Show More
@@ -0,0 +1,17 b'' | |||||
|
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 nose.tools as nt | |||
|
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()) |
General Comments 0
You need to be logged in to leave comments.
Login now