##// END OF EJS Templates
Add Julia to default script magics....
Add Julia to default script magics. I have been adding this line manually to my local copies of IPython/Jupyter and even suggest to do so in a Stack Overflow question, it would be nice if this worked by default. https://stackoverflow.com/questions/24091373/best-way-to-run-julia-code-in-an-ipython-notebook-or-python-code-in-an-ijulia-n/24106944#24106944 Should I also add R or any other language? Is this not the correct way to do it? Please let me know, cheers!

File last commit:

r18040:ba09cbc0
r23958:4a26161a
Show More
test_sysinfo.py
17 lines | 390 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
import nose.tools as nt
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())