~aptdaemon-developers/aptdaemon/1.x

« back to all changes in this revision

Viewing changes to tests/_test_py2_string_handling.py

  • Committer: Sebastian Heinlein
  • Date: 2012-12-29 23:41:16 UTC
  • mfrom: (883.1.26 pep8)
  • Revision ID: devel@glatzor.de-20121229234116-nd390n01ut2fcfce
PEP8 fixes and test for the test suite

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
see LP #724735.
25
25
"""
26
26
 
27
 
__author__  = "Michael Vogt <mvo@glatzor.de>"
 
27
__author__ = "Michael Vogt <mvo@glatzor.de>"
28
28
 
29
29
import os
30
30
import sys
94
94
        self.assertEqual(foo, u"Transaction failed: None\nä")
95
95
        foo = str(e)
96
96
        self.assertEqual(foo, u"Transaction failed: None\nä".encode("utf-8"))
97
 
    
98
97
 
99
98
 
100
99
if __name__ == "__main__":