We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b479499 commit d3f30fbCopy full SHA for d3f30fb
glom/test/conftest.py
@@ -0,0 +1,7 @@
1
+import os
2
+import sys
3
+
4
+# Fix for pytest tmp_path on Windows + Python 3.14 where pwd module doesn't exist
5
+# and USERNAME env var may not be set in CI environments
6
+if sys.platform == 'win32' and not any(os.environ.get(n) for n in ('LOGNAME', 'USER', 'LNAME', 'USERNAME')):
7
+ os.environ['USERNAME'] = 'user'
0 commit comments