title: How do I change the output of Assertion error with python?
body: <p>On Terminal of Mac OS X.</p>
  
  <p>The output of assertEqual is</p>
  
  <pre><code>  File "tests/test_conditions.py", line 27, in test_if_condition
      self.assertEqual(result, expected)
  AssertionError: '    if (self) {\n        self.addMainLabel\n        self.addSubLabel\n        self.setupBackground\n    }\n' != '    if self\n        self.addMainLabel\n        self.addSubLabel\n        self.setupBackground\n    end\n'
  </code></pre>
  
  <p>But I'd like to get the following output with evaluating line break '\n' and add line break after 'AssertionError:'.</p>
  
  <pre><code>  File "tests/test_conditions.py", line 27, in test_if_condition
      self.assertEqual(result, expected)
  AssertionError: 
  '    if (self) {
          self.addMainLabel
          self.addSubLabel
          self.setupBackground
      }
  ' != 
  '    if self
          self.addMainLabel
          self.addSubLabel
          self.setupBackground
      end
  '
  </code></pre>