Commit f35ed8a6 by Michael DeHaan

Update module test code to avoid pycs (that are not used)

parent 25cc79e2
...@@ -16,7 +16,7 @@ class TestModules(unittest.TestCase): ...@@ -16,7 +16,7 @@ class TestModules(unittest.TestCase):
for (dirpath, dirnames, filenames) in os.walk(path): for (dirpath, dirnames, filenames) in os.walk(path):
for filename in filenames: for filename in filenames:
(path, ext) = os.path.splitext(filename) (path, ext) = os.path.splitext(filename)
if ext != ".ps1": if ext == ".py":
module_list.append(os.path.join(dirpath, filename)) module_list.append(os.path.join(dirpath, filename))
return module_list return module_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment