# HG changeset patch # User Yuya Nishihara # Date 2016-05-14 04:49:46 # Node ID 0ec8501af80004a52193d7c450666e5c92dd2fa5 # Parent a0939666b8364433d51a5ab00b4fc5138b6cdd4b import-checker: fix test to make a real package Otherwise "testpackage" wouldn't be counted as a package when building a list of imported symbols. diff --git a/tests/test-check-module-imports.t b/tests/test-check-module-imports.t --- a/tests/test-check-module-imports.t +++ b/tests/test-check-module-imports.t @@ -11,6 +11,7 @@ it's working correctly. Run additional tests for the import checker $ mkdir testpackage + $ touch testpackage/__init__.py $ cat > testpackage/multiple.py << EOF > from __future__ import absolute_import