Re: [Pyunit-interest] Re: PATCH: AssertionError message
Brought to you by:
purcell
From: Steve P. <ste...@ya...> - 2002-06-04 12:57:37
|
Patrick K. O'Brien wrote: > Yes, backticks (backquotes) do the same as repr. But they a bit of a wart > and I wouldn't encourage their use. The code above could instead be: > > (msg or '%r != %r' % (first, second)) Not with Python 1.5.2. -Steve |