Test-suite: Unify string quoting in the Python sources

This commit is contained in:
Dmitry D. Chernov 2019-07-14 12:58:21 +10:00
commit fa5f519bf9
23 changed files with 146 additions and 146 deletions

View file

@ -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: