Author: walter.doerwald
Date: Fri May 18 18:50:52 2007
New Revision: 55435

Modified:
   python/branches/py3k-struni/Lib/test/test_unary.py
Log:
Fix test: u prefixes are gone now. Test 'a' and b'a' instead.


Modified: python/branches/py3k-struni/Lib/test/test_unary.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_unary.py  (original)
+++ python/branches/py3k-struni/Lib/test/test_unary.py  Fri May 18 18:50:52 2007
@@ -43,9 +43,8 @@
 
     def test_bad_types(self):
         for op in '+', '-', '~':
+            self.assertRaises(TypeError, eval, op + "b'a'")
             self.assertRaises(TypeError, eval, op + "'a'")
-            if have_unicode:
-                self.assertRaises(TypeError, eval, op + "u'a'")
 
         self.assertRaises(TypeError, eval, "~2j")
         self.assertRaises(TypeError, eval, "~2.0")
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to