[pypy-commit] pypy win32-cleanup2: replace <> with !=

mattip noreply at buildbot.pypy.org
Sun May 6 22:09:12 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: win32-cleanup2
Changeset: r54918:3e1a06caf364
Date: 2012-05-06 23:05 +0300
http://bitbucket.org/pypy/pypy/changeset/3e1a06caf364/

Log:	replace <> with !=

diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -71,7 +71,7 @@
 
 # used in tests for ctypes and for genc and friends
 # to handle the win64 special case:
-is_emulated_long = _long_typecode <> 'l'
+is_emulated_long = _long_typecode != 'l'
     
 LONG_BIT = _get_long_bit()
 LONG_MASK = (2**LONG_BIT)-1
diff --git a/pypy/rlib/test/test_rwin32.py b/pypy/rlib/test/test_rwin32.py
--- a/pypy/rlib/test/test_rwin32.py
+++ b/pypy/rlib/test/test_rwin32.py
@@ -1,5 +1,5 @@
 import os
-if os.name <> 'nt':
+if os.name != 'nt':
     skip('tests for win32 only')
 
 from pypy.rlib import rwin32


More information about the pypy-commit mailing list