changeset 29206:0ec8501af800

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.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 14 May 2016 13:49:46 +0900
parents a0939666b836
children a09098c61fea
files tests/test-check-module-imports.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-module-imports.t	Sat May 14 14:03:12 2016 +0900
+++ b/tests/test-check-module-imports.t	Sat May 14 13:49:46 2016 +0900
@@ -11,6 +11,7 @@
 Run additional tests for the import checker
 
   $ mkdir testpackage
+  $ touch testpackage/__init__.py
 
   $ cat > testpackage/multiple.py << EOF
   > from __future__ import absolute_import