* Update the test suite to reflect that ConversionSyntax was no longer

public.
* Removed the non-signal conditions from __all__.
* Removed the XXX comment which was resolved.
* Use ^ instead of operator.xor
* Remove the threading lock which is no longer necessary.
This commit is contained in:
Raymond Hettinger 2004-07-09 10:52:54 +00:00
parent 5aa478badf
commit d87ac8f24d
2 changed files with 6 additions and 18 deletions

View file

@ -134,7 +134,7 @@ class DecimalTest(unittest.TestCase):
#print line
try:
t = self.eval_line(line)
except ConversionSyntax:
except InvalidOperation:
print 'Error in test cases:'
print line
continue
@ -189,7 +189,7 @@ class DecimalTest(unittest.TestCase):
ans = L[0]
exceptions = L[1:]
except (TypeError, AttributeError, IndexError):
raise ConversionSyntax
raise InvalidOperation
def FixQuotes(val):
val = val.replace("''", 'SingleQuote').replace('""', 'DoubleQuote')
val = val.replace("'", '').replace('"', '')