diff --git a/tests/test-remotefilelog-datapack.py b/tests/test-remotefilelog-datapack.py
--- a/tests/test-remotefilelog-datapack.py
+++ b/tests/test-remotefilelog-datapack.py
@@ -373,4 +373,6 @@ class datapacktests(datapacktestsbase, u
 # - GC two packs into one
 
 if __name__ == '__main__':
+    if pycompat.iswindows:
+        sys.exit(80)    # Skip on Windows
     silenttestrunner.main(__name__)
diff --git a/tests/test-remotefilelog-histpack.py b/tests/test-remotefilelog-histpack.py
--- a/tests/test-remotefilelog-histpack.py
+++ b/tests/test-remotefilelog-histpack.py
@@ -273,4 +273,6 @@ class histpacktests(unittest.TestCase):
 # - repack two packs into one
 
 if __name__ == '__main__':
+    if pycompat.iswindows:
+        sys.exit(80)    # Skip on Windows
     silenttestrunner.main(__name__)