Skip to content

Commit 450aa43

Browse files
Ensure tests pass with Python 3.4
1 parent 9248e85 commit 450aa43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyobjc-core/PyObjCTest/test_archiving_interop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_interop_data(self):
131131
converted = subprocess.check_output([self.progpath, 'keyed', fp.name])
132132

133133
converted = loads(converted)
134-
self.assertEqual(converted, [Data(testval)])
134+
self.assertEqual(converted, [testval])
135135

136136
def test_interop_seq(self):
137137
for testval in (
@@ -287,7 +287,7 @@ def test_interop_data(self):
287287
converted = subprocess.check_output([self.progpath, 'plain', fp.name])
288288

289289
converted = loads(converted)
290-
self.assertEqual(converted, [Data(testval)])
290+
self.assertEqual(converted, [testval])
291291

292292
def test_interop_seq(self):
293293
for testval in (

pyobjc-core/PyObjCTest/test_archiving_secure_interop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def test_interop_data(self):
153153
converted = subprocess.check_output([self.progpath, fp.name])
154154

155155
converted = readPlistFromBytes(converted)
156-
self.assertEqual(converted, [Data(testval)])
156+
self.assertEqual(converted, [testval])
157157

158158
def test_interop_seq(self):
159159
for testval in (

0 commit comments

Comments
 (0)