mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-23 17:50:04 +02:00
- the module-help subprocess is read as UTF-8 under a cp1252 locale - the yfinance cache check names the suite's directory, which may sit under the home on Windows - POSIX file modes and shell upgrade commands are checked only off Windows - file locking names errno.EDEADLK, which macOS also defines
This commit is contained in:
@@ -106,7 +106,7 @@ def test_on_windows_the_lock_is_waited_for_while_another_writer_holds_it(tmp_pat
|
||||
import errno
|
||||
import sys
|
||||
|
||||
fake, calls = _fake_msvcrt([OSError(errno.EDEADLOCK, "held"), None])
|
||||
fake, calls = _fake_msvcrt([OSError(errno.EDEADLK, "held"), None])
|
||||
monkeypatch.setitem(sys.modules, "msvcrt", fake)
|
||||
|
||||
with open(tmp_path / "log.md.lock", "a+b") as handle, files._hold_windows(handle):
|
||||
|
||||
Reference in New Issue
Block a user