diff --git a/tests/test_html.py b/tests/test_html.py
index a2b592cbb..c4f7870d0 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -712,6 +712,10 @@ def compare_html(
]
if env.WINDOWS:
# For file paths...
+ scrubs += [
+ (r'[A-Z]:\\Users\\[\w\\]+\\pytest-of-\w+\\pytest-\d+\\(popen-gw\d+\\)?t\d+',
+ 'TEST_TMPDIR')
+ ]
scrubs += [(r"\\", "/")]
if extra_scrubs:
scrubs += extra_scrubs