From 7bd8fa3bdab614864286ed5fdd289f9a04b19715 2011-11-28 04:30:10 From: Fernando Perez Date: 2011-11-28 04:30:10 Subject: [PATCH] Add simple test for __IPYTHON__ in builtins. --- diff --git a/IPython/core/tests/test_interactiveshell.py b/IPython/core/tests/test_interactiveshell.py index a5d3c9f..d57cd51 100644 --- a/IPython/core/tests/test_interactiveshell.py +++ b/IPython/core/tests/test_interactiveshell.py @@ -271,3 +271,8 @@ class TestSystemRaw(unittest.TestCase): """ cmd = ur'''python -c "'åäö'" ''' _ip.shell.system_raw(cmd) + + +def test__IPYTHON__(): + # This shouldn't raise a NameError, that's all + __IPYTHON__