title: Accessing module in parent folder
body: <p>I was trying to implement something that I saw in a <a href="https://realpython.com/python-typer-cli/" rel="nofollow noreferrer">tutorial on Real Python</a>. In the tutorial there a testing module (or do you call that a test file?) is in a directory <code>test/</code> and the code is in a directory <code>rptodo/</code>, and the test file imports the object to be tested with <code>from rptodo import __app_name__, __version__, cli</code>. This does not run by itself; an error <code>ModuleNotFoundError: No module named 'rptodo'</code> occurs. But this does allow pytest to run the code. I then tried redoing this with my own example code and I get the same error even in pytest. What did I do wrong in creating the module?</p>
  <p>My folder structure:</p>
  <pre><code>Anywhere
  -here
  --test_this.py
  -there
  --__init__.py
  --yonder.py
  </code></pre>
  <p>yonder.py</p>
  <pre><code>class That:
      thing = 'something'
  </code></pre>
  <p>test_this.py</p>
  <pre><code>from there.yonder import That
  
  def test_this():
      this = That()
      print(this.thing)
  
  test_this()
  </code></pre>