diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-07-24 14:11:58 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-08-01 08:48:27 +0100 |
commit | b89b2c45b145c33c41115a9aac6e46b085ce668a (patch) | |
tree | 8c373cdb925284b6915061659efb2444bfa0b89c /deluge/tests/common.py | |
parent | e38f1173cf470f2f8373f2fa4edbb726c932c980 (diff) | |
download | deluge-b89b2c45b145c33c41115a9aac6e46b085ce668a.tar.gz deluge-b89b2c45b145c33c41115a9aac6e46b085ce668a.tar.bz2 deluge-b89b2c45b145c33c41115a9aac6e46b085ce668a.zip |
[Console] Fix using windows-curses on Windows
The console tests are still failing on Windows due to an issue where the
sys args are not being correctly replaced in the tests so the pytest
args are being passed to console.
Diffstat (limited to 'deluge/tests/common.py')
-rw-r--r-- | deluge/tests/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/tests/common.py b/deluge/tests/common.py index f0ddb2b99..be33f8c58 100644 --- a/deluge/tests/common.py +++ b/deluge/tests/common.py @@ -69,7 +69,7 @@ def add_watchdog(deferred, timeout=0.05, message=None): return value deferred.addBoth(callback) - watchdog = reactor.callLater(timeout, defer.timeout, deferred) + watchdog = reactor.callLater(timeout, defer.Deferred.addTimeout, deferred) return watchdog |