##// END OF EJS Templates
Work in multiple places to improve state of the test suite....
Work in multiple places to improve state of the test suite. With these changes, on my system now all the test sub-suites pass except for the Twisted one (see https://bugs.launchpad.net/ipython/+bug/504515 for details on that one).

File last commit:

r2039:eb3ef22e
r2398:f173ff8e
Show More
platutils_dummy.py
33 lines | 1009 B | text/x-python | PythonLexer
vivainio
Added platutils modules, now only needed for %cd to ...
r107 # -*- coding: utf-8 -*-
""" Platform specific utility functions, dummy version
This has empty implementation of the platutils functions, used for
unsupported operating systems.
Fernando Perez
Update copyright/author statements....
r1875
Authors
-------
- Ville Vainio <vivainio@gmail.com>
vivainio
Added platutils modules, now only needed for %cd to ...
r107 """
#*****************************************************************************
Fernando Perez
Update copyright/author statements....
r1875 # Copyright (C) 2008-2009 The IPython Development Team
# Copyright (C) 2001-2007 Fernando Perez <fperez@colorado.edu>
vivainio
Added platutils modules, now only needed for %cd to ...
r107 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#*****************************************************************************
Fernando Perez
Refactor of platutils for cleanup....
r1331 # This variable is part of the expected API of the module:
ignore_termtitle = True
vivainio
Added platutils modules, now only needed for %cd to ...
r107
Fernando Perez
Refactor of platutils for cleanup....
r1331 def set_term_title(*args,**kw):
"""Dummy no-op."""
vivainio
Added platutils modules, now only needed for %cd to ...
r107 pass
Brian Granger
Moving find_exe -> platutils.find_cmd and making is cross platform....
r1975
def find_cmd(cmd):
"""Find the full path to a command using which."""
return os.popen('which %s' % cmd).read().strip()
Administrator
Added platutils.get_long_path_name to expand paths with "~" on win32....
r1986
def get_long_path_name(path):
"""Dummy no-op."""
return path