##// END OF EJS Templates
Fix virtualenv warning for Cygwin...
Fix virtualenv warning for Cygwin Getting `Attempting to work in a virtualenv...` warnings when running in Cygwin and starting ipython in a virtualenv. (Also, using a virtualenvwrapper, not sure if it makes a difference) Turns out `p_venv` looks like this `\cygdrive\c\users\igonato\envs\myenv` when `sys.executable` is like this `c:\users\igonato\envs\myenv\scripts\python.exe`. This should make the check a bit more robust when running in Cygwin Cheers!

File last commit:

r13855:18493681
r23579:920ce1fb
Show More
test_imports.py
11 lines | 270 B | text/x-python | PythonLexer
# encoding: utf-8
from IPython.testing import decorators as dec
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
def test_import_deepreload():
from IPython.lib import deepreload
def test_import_demo():
from IPython.lib import demo