~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/test/test_pep3120.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        try:
20
20
            import test.badsyntax_pep3120
21
21
        except SyntaxError as msg:
22
 
            msg = str(msg)
23
 
            self.assertTrue('UTF-8' in msg or 'utf8' in msg)
 
22
            msg = str(msg).lower()
 
23
            self.assertTrue('utf-8' in msg)
24
24
        else:
25
25
            self.fail("expected exception didn't occur")
26
26