-
Hello, I have encountered a problem when I try to use pyarmor for pytest (7.3.1) in Windows 11.
The detailed error is:
This error happen only on Windows 11, and everything is working fine in Windows 10.
Thanks you in advance for your helps. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It seems pytest need print line no. by log, but there is no line no. got from obfuscated scripts. Patching pytest to fix this problem. |
Beta Was this translation helpful? Give feedback.
-
Change the default pytest logger argument can solve this problem: pytest --log-format="%(asctime)s %(levelname)s %(message)s" |
Beta Was this translation helpful? Give feedback.
Change the default pytest logger argument can solve this problem: pytest --log-format="%(asctime)s %(levelname)s %(message)s"
https://docs.pytest.org/en/7.1.x/how-to/logging.html