tests/test-check-format.t
changeset 46870 41d43d12c2c4
parent 46774 decc3bd3f20d
--- a/tests/test-check-format.t	Sat Apr 03 21:15:45 2021 -0400
+++ b/tests/test-check-format.t	Mon Apr 05 12:44:33 2021 -0400
@@ -1,5 +1,11 @@
 #require black test-repo
 
+Black needs the real USERPROFILE in order to run on Windows
+#if msys
+  $ USERPROFILE="$REALUSERPROFILE"
+  $ export USERPROFILE
+#endif
+
   $ cd $RUNTESTDIR/..
   $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`