commit | 132dce22469f476f399d1bbc6d1cc2f7ba0110cc | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue Dec 12 23:11:42 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue Dec 12 23:11:42 2000 +0000 |
tree | 4b0988e41b3b7d25d10c2a24fb18b07ff376f66d | |
parent | 63596aeb33c2837d7802449c8906349c9ea1998e [diff] [blame] |
Update the code to better reflect recommended style: Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 92b9336..fe37936 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py
@@ -137,7 +137,7 @@ msg = 'socket test' s.send(msg) data = s.recv(1024) - if msg <> data: + if msg != data: print 'parent/client mismatch' s.close() finally: