Skip to content

Commit

Permalink
Make egon.data.processing an explicit package
Browse files Browse the repository at this point in the history
This fixes the tests failing with an error because they're importing two
different `openstreetmap` modules from two different locations but
getting confused between the two. There's an [issue comment][0] and a
[documentation section][1] explaining this. Unfortunately adding the
`--import-mode=importlib` option didn't fix the error so I had to use
the `__init__.py` fix. Maybe it's a doctest specific thing.

[0]: pytest-dev/pytest#3151 (comment)
[1]: https://docs.pytest.org/en/latest/pythonpath.html#import-modes
  • Loading branch information
gnn committed Nov 17, 2020
1 parent fa9f5b8 commit baa22ed
Showing 1 changed file with 0 additions and 0 deletions.
Empty file.

0 comments on commit baa22ed

Please sign in to comment.