diff options
author | Eric T. Johnson <yut23@users.noreply.github.com> | 2023-03-24 20:37:35 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-03-26 17:09:46 +0200 |
commit | 3f0801c8ac1008fc4c5e3b6a7b2b68e711ca67b2 (patch) | |
tree | 510b3515c83d298fcd080b7e09f1e064eef5d582 /systemd/test | |
parent | 684a6cc2222f7efa72478173d7417994b13fe28a (diff) | |
download | python-systemd-main.tar.gz |
One usage of `connection_error` got missed when dropping Python 2 support.
Diffstat (limited to 'systemd/test')
-rw-r--r-- | systemd/test/test_daemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py index f6ae07e..537e9c1 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -349,7 +349,7 @@ def test_daemon_notify_memleak(): try: notify('', True, 0, fds) - except connection_error: + except ConnectionRefusedError: pass assert sys.getrefcount(fd) <= ref_cnt, 'leak' |