tests/test-run-tests.py
changeset 47573 75b623801f6a
parent 43076 2372284d9457
child 48966 6000f5b25c9b
--- a/tests/test-run-tests.py	Fri Jul 09 13:36:39 2021 +0200
+++ b/tests/test-run-tests.py	Fri Jul 09 15:39:43 2021 +0200
@@ -62,6 +62,8 @@
         >>> os.altsep = True
         >>> _osname = os.name
         >>> os.name = 'nt'
+        >>> _old_windows = run_tests.WINDOWS
+        >>> run_tests.WINDOWS = True
 
     valid match on windows
         >>> lm(b'g/a*/d (glob)\n', b'g\\abc/d\n')
@@ -80,6 +82,7 @@
     restore os.altsep
         >>> os.altsep = _osaltsep
         >>> os.name = _osname
+        >>> run_tests.WINDOWS = _old_windows
     """
     pass