Chromium Code Reviews| Index: expect_tests/main.py |
| diff --git a/expect_tests/main.py b/expect_tests/main.py |
| index ad073071520a030cc62228d383498b929e61b190..de4841647e9a99363d2f6546ee399527e6ec7f4d 100644 |
| --- a/expect_tests/main.py |
| +++ b/expect_tests/main.py |
| @@ -159,9 +159,7 @@ def find_all_modules(): |
| blacklist.add('.'.join([modname, submod])) |
| continue |
| if modname.endswith('_test'): |
| - m = load_module(modname) |
| - if m.__file__.endswith('.py'): |
| - ret.append(m) |
| + ret.append(load_module(modname)) |
| return ret |