From 28acc5ccb4cd911fd7a5d0272ccceef1b82ab30b Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 9 Feb 2021 14:50:29 -0500 Subject: [PATCH] Duplicate the fix for the other Windows-only module --- src/allmydata/test/_win_subprocess.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/test/_win_subprocess.py b/src/allmydata/test/_win_subprocess.py index 1ca2de1f4..fe6960c73 100644 --- a/src/allmydata/test/_win_subprocess.py +++ b/src/allmydata/test/_win_subprocess.py @@ -34,6 +34,10 @@ ## issue: https://bugs.python.org/issue19264 +# See allmydata/windows/fixups.py +import sys +assert sys.platform == "win32" + import os import ctypes import subprocess