I'm not sure where I'm going wrong, I've tried a bunch of the methods listed in other questions, so I'm going to re-ask in case I'm missing something.
I have the following structure:
|-bin/
-file.py
|-unittests/
-__init__.py
|-test_bin/
-__init__.py
-test_file.py
I've tried the following inside test_file.py to no avail:
1) Import Error: No module named bin.file
from bin.file import *
2) Import Error: No module named bin.file
import sys
from os import path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
from bin.file import *
3) ValueError: Attempted relative import in non-package
from ...bin.file import *
The command I'm using is python test_file.py
