diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
index 526ee887c4d512e4d2812edaef30908eba3fafc4_Y29udHJpYi9weXRob24zLXdoaXRlbGlzdA==..ee9981bc8b44cbee1c280813faa4aa03544231d4_Y29udHJpYi9weXRob24zLXdoaXRlbGlzdA== 100644
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -116,6 +116,7 @@
 test-copy-move-merge.t
 test-copy.t
 test-copytrace-heuristics.t
+test-custom-filters.t
 test-debugbuilddag.t
 test-debugbundle.t
 test-debugcommands.t
diff --git a/tests/test-custom-filters.t b/tests/test-custom-filters.t
index 526ee887c4d512e4d2812edaef30908eba3fafc4_dGVzdHMvdGVzdC1jdXN0b20tZmlsdGVycy50..ee9981bc8b44cbee1c280813faa4aa03544231d4_dGVzdHMvdGVzdC1jdXN0b20tZmlsdGVycy50 100644
--- a/tests/test-custom-filters.t
+++ b/tests/test-custom-filters.t
@@ -27,6 +27,7 @@
   > .hgignore
   > prefix.py
   > prefix.pyc
+  > __pycache__/
   > EOF
 
   $ cat > stuff.txt <<EOF