diff options
author | Simon McVittie <smcv@debian.org> | 2010-02-18 15:03:30 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-02-18 15:03:30 +0000 |
commit | abdf6021b21883beb51d92862caafc127d3c25ec (patch) | |
tree | acd4f90506d09f56d35fe873a01b5c1ae882e83e /test/cross-test-client.py | |
parent | add31c0964a0a659443aa534b1f114f4e0a2e7b3 (diff) |
tests/cross-test-*: don't use deprecated sets module
set() has been a built-in since 2.4, and we don't support older versions.
Diffstat (limited to 'test/cross-test-client.py')
-rw-r--r-- | test/cross-test-client.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/cross-test-client.py b/test/cross-test-client.py index f192167..ee18f77 100644 --- a/test/cross-test-client.py +++ b/test/cross-test-client.py @@ -20,7 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -from sets import Set from time import sleep import logging @@ -43,7 +42,7 @@ logger = logging.getLogger('cross-test-client') class Client(SignalTestsImpl): fail_id = 0 - expected = Set() + expected = set() def quit(self): for x in self.expected: |