diff options
author | Guido van Rossum <guido@python.org> | 2006-08-24 03:53:23 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-24 03:53:23 +0000 |
commit | 76ea86827bca32c5044bbe46e76b2c0a73623486 (patch) | |
tree | cb62f554b513c01722e06f172490587618b40879 /Lib/test/test_socket.py | |
parent | 795dc76ce3e471a503df313633cbf833e0f2483e (diff) | |
download | cpython-76ea86827bca32c5044bbe46e76b2c0a73623486.tar.gz |
Killed the <> operator. You must now use !=.
Opportunistically also fixed one or two places where '<> None' should be
'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 356b80199b..df37f73bda 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -285,7 +285,7 @@ class GeneralModuleTests(unittest.TestCase): orig = sys.getrefcount(__name__) socket.getnameinfo(__name__,0) except SystemError: - if sys.getrefcount(__name__) <> orig: + if sys.getrefcount(__name__) != orig: self.fail("socket.getnameinfo loses a reference") def testInterpreterCrash(self): |