title: Import file from parent directory?
body: <p>I have the following directory structure:</p>
  
  <pre><code>application
      tests
          main.py
      main.py
  </code></pre>
  
  <p>application/main.py contains some functions.</p>
  
  <p>tests/main.py will contain my tests for these functions but I can't import the top level main.py. I get the following error:</p>
  
  <pre><code>ImportError: Import by filename is not supported.
  </code></pre>
  
  <p>I am attempting to import using the following syntax:</p>
  
  <pre><code>import main
  </code></pre>
  
  <p>What am I doing wrong?</p>