Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Unified Diff: expect_tests/main.py

Issue 466043003: Make expect_tests not try to be smart about pyc. (Closed) Base URL: https://chromium.googlesource.com/infra/testing/expect_tests.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « expect_tests/__init__.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « expect_tests/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698