Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_socket.py @ 39648:efe3f2c0da5e
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)'.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 24 Aug 2006 03:53:23 +0000 |
| parents | 654c380cf8b9 |
| children | 6b18a095c2e7 |
line wrap: on
line diff
--- a/Lib/test/test_socket.py Thu Aug 24 02:58:11 2006 +0000 +++ b/Lib/test/test_socket.py Thu Aug 24 03:53:23 2006 +0000 @@ -285,7 +285,7 @@ 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):
