diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index e18aa8a837e..f4ab5d7d9ab 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 #####################################################################################