Skip to content

Commit 2af444e

Browse files
author
Joshua Harlow
committed
Use the compat layer for atexit functionality
1 parent d780c64 commit 2af444e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

kazoo/testing/harness.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
"""Kazoo testing harnesses"""
2-
import atexit
2+
33
import logging
44
import os
55
import uuid
66
import unittest
77

8+
from kazoo import python2atexit as atexit
9+
810
from kazoo.client import KazooClient
911
from kazoo.exceptions import NotEmptyError
1012
from kazoo.protocol.states import (

0 commit comments

Comments
 (0)