diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 10:34:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 11:03:09 +0200 |
commit | ba9d9f89104a26a410e1eb9e371d366ef2702c35 (patch) | |
tree | 886325b8278306aba71662b897f44610bdc9a6f3 | |
parent | 872ce304a07bb4c1b4fc06b7bfbd9220652c3793 (diff) | |
download | python-systemd-ba9d9f89104a26a410e1eb9e371d366ef2702c35.tar.gz |
tests: python2-compat in another place
-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 ac782f9..d2eb10f 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -353,7 +353,7 @@ def test_daemon_notify_memleak(): try: notify('', True, 0, fds) - except ConnectionRefusedError: + except connection_error: pass assert sys.getrefcount(fd) <= ref_cnt, 'leak' |