summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_marshal.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_marshal.py')
-rw-r--r--Lib/test/test_marshal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py
index 9c58c12..7f7c5e6 100644
--- a/Lib/test/test_marshal.py
+++ b/Lib/test/test_marshal.py
@@ -106,7 +106,7 @@ class FloatTestCase(unittest.TestCase):
class StringTestCase(unittest.TestCase):
def test_unicode(self):
- for s in [u"", u"Andrč Previn", u"abc", u" "*10000]:
+ for s in ["", "Andrč Previn", "abc", " "*10000]:
new = marshal.loads(marshal.dumps(s))
self.assertEqual(s, new)
self.assertEqual(type(s), type(new))
@@ -156,7 +156,7 @@ class ContainerTestCase(unittest.TestCase):
'alist': ['.zyx.41'],
'atuple': ('.zyx.41',)*10,
'aboolean': False,
- 'aunicode': u"Andrč Previn"
+ 'aunicode': "Andrč Previn"
}
def test_dict(self):
new = marshal.loads(marshal.dumps(self.d))