+
+ # Too unstable on Windows because of how it works with services (impossible to
+ # start the service if it has been marked for deletion, but not yet deleted).
+ # Since lots of things can prevent service removal (like opened task manager or
+ # services.msc) the `restart` command is inherently unreliable.
+ if os.name != "nt":
+ test_restart(foo)