Robert Brewer  committed a09595b

Replacing the deprecated err.message access for cleaner test output

  • Participants
  • Parent commits 1be58f9
  • Branches default

Comments (0)

Files changed (1)

File tests/

 		except ParserSyntaxError, err:
-			assert err.message == "Blargh!", """Error message was %r, should have been "Blargh!"."""%(err.message,)
+			assert err.args[0] == "Blargh!", """Error message was %r, should have been "Blargh!"."""%(err.args[0],)
 	def testErrorOnFail12( self ):
 		"""Test proper setting of err message text from !"message" syntax"""