tests.testdata can't be a Python modul

Issue #1121 closed
Andreas Rabe created an issue
  • don’t create the __init__.py , which makes the folder a modul

    * create a modul under the src folder

Comments (3)

  1. Benjamin Jakimow
    • changed status to open

    Just for the docs and because I forgot it: What again was the reason for not having this autogenerated init.py in testdata?

    Having imports "from testdata import enmap_tif" would be straight forward.

  2. Andreas Rabe reporter

    Source code should be located in the source code folder src.

    If you want to make testdata a modul, than it should be moved under src.

    Also, testdata is not a good name for a top-level modul (to general, naming conflics are likely). Better name would be enmapboxtestdata.

  3. Log in to comment