diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-08-16 12:20:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 12:20:44 +0200 |
commit | 8360d1d01cf0e0064238c539d2fb4e47a29c65f2 (patch) | |
tree | 2a76c84ec4c8a7fa17e94330105fd791f5d8d051 /systemd/test/test_daemon.py | |
parent | 6320847472657fc2b4f98dd5bfeb4c826ed68a06 (diff) | |
parent | c5f8b887bef5c11908913168ad566aa1bc07166e (diff) | |
download | python-systemd-8360d1d01cf0e0064238c539d2fb4e47a29c65f2.tar.gz |
Merge pull request #117 from keszybz/python2-compat
Compat with python2
Diffstat (limited to 'systemd/test/test_daemon.py')
-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' |