#!/usr/bin/env python

# relative import -- would require adding __init__.py to the top level
# project, which is against best practices

#from ..myimports.foo import Foo # ImportError: No module named myimports.foo
#import unittest
#
#class TestRelImport(unittest.TestCase):
#    def test_bar(self):
#        self.assertEqual('bar', Foo().bar())
#    
#

#!/usr/bin/env python

# relative import -- would require adding __init__.py to the top level
# project, which is against best practices

#from ..myimports.foo import Foo # ImportError: No module named myimports.foo
#import unittest
#
#class TestRelImport(unittest.TestCase):
#    def test_bar(self):
#        self.assertEqual('bar', Foo().bar())
#    
#

#!/usr/bin/env python # relative import -- would require adding __init__.py to the top level # project, which is against best practices #from ..myimports.foo import Foo # ImportError: No module named myimports.foo #import unittest # #class TestRelImport(unittest.TestCase): #    def test_bar(self): #        self.assertEqual('bar', Foo().bar()) # #