Test-suite: Unify string quoting in the Python sources
This commit is contained in:
parent
c4ad3480bd
commit
fa5f519bf9
23 changed files with 146 additions and 146 deletions
|
|
@ -15,11 +15,11 @@ lthis = long(a.this)
|
|||
# match pointer value, but deal with leading zeros on 8/16 bit systems and
|
||||
# different C++ compilers interpretation of %p
|
||||
xstr1 = "%016X" % (lthis,)
|
||||
xstr1 = str.lstrip(xstr1, '0')
|
||||
xstr1 = str.lstrip(xstr1, "0")
|
||||
xstr2 = pointer_str(a)
|
||||
xstr2 = str.replace(xstr2, "0x", "")
|
||||
xstr2 = str.replace(xstr2, "0X", "")
|
||||
xstr2 = str.lstrip(xstr2, '0')
|
||||
xstr2 = str.lstrip(xstr2, "0")
|
||||
xstr2 = str.upper(xstr2)
|
||||
|
||||
if xstr1 != xstr2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue