summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhacking/module_formatter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py
index e18aa8a837..f4ab5d7d9a 100755
--- a/hacking/module_formatter.py
+++ b/hacking/module_formatter.py
@@ -174,6 +174,10 @@ def list_modules(module_dir, depth=0):
categories[category][module] = d
categories['all'][module] = d
+ # keep module tests out of becomeing module docs
+ if 'test' in categories:
+ del categories['test']
+
return categories
#####################################################################################