Skip to content

Commit ce58938

Browse files
committed
Merge pull request gregmalcolm#36 from nofatclips/master
Importing a subfolder without the __init__ method
2 parents 1248be3 + 3d3018b commit ce58938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python3/koans/about_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_subfolders_become_modules_if_they_have_an_init_module(self):
3939

4040
def test_subfolders_without_an_init_module_are_not_part_of_the_package(self):
4141
# Import ./a_normal_folder/
42-
with self.assertRaises(___): from . import a_normal_folder
42+
with self.assertRaises(___): from a_normal_folder import Duck
4343

4444
# ------------------------------------------------------------------
4545

0 commit comments

Comments
 (0)