Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
nose
/
__pycache__
/
File Content:
importer.cpython-35.pyc
d�UZ � @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z m Z e j e � Z y e j j Z Wn e k r� d d � Z Yn XGd d � d e � Z d d d � Z d d � Z d S) a: Implements an importer that looks only in specific path (ignoring sys.path), and uses a per-path cache in addition to sys.modules. This is necessary because test modules in different directories frequently have the same names, which means that the first loaded would mask the rest when using the builtin importer. � N)�Config)�find_module�load_module�acquire_lock�release_lockc C s: t j j t j j | � � t j j t j j | � � k S)N)�os�path�normcase�realpath)�src�dst� r �/importer.py� _samefile s r c @ sU e Z d Z d Z d d d � Z d d � Z d d � Z d d � Z d d � Z d S) �Importerz�An importer class that does only path-specific imports. That is, the given module is not searched for on sys.path, but only at the path or in the directory specified. Nc C s"