title: How do I import a module whose name clashes with a module in my package?
body: <p>I have several python modules in a directory.</p>
  
  <p>In the same directory, I have a package <code>tests</code>.</p>
  
  <p>I would quite like to name the modules in <code>tests</code> the same as the modules that they contain tests for, although of course it isn't critical.</p>
  
  <p>So, in <code>tests.foo</code> I naively write <code>import foo</code>. This isn't working so well - it imports <code>tests.foo</code>, not top-level <code>foo</code>.</p>
  
  <p>Can I do what I want, or do I just have to call the test module <code>test_foo</code>?</p>
  
  <p>Sorry if this is obvious or a dupe, my search-fu has failed.</p>