Skip to content

Commit f9ff8e0

Browse files
authored
Enable test_bytes from stdlib (#948)
1 parent f6bffda commit f9ff8e0

4 files changed

Lines changed: 4 additions & 239 deletions

File tree

Src/IronPythonTest/Cases/CPythonCasesManifest.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ Ignore=true
197197
[CPython.test_bufio]
198198
RetryCount=2
199199

200-
[CPython.test_bytes] # IronPython.test_bytes_stdlib
201-
Ignore=true
202-
203200
[CPython.test_bz2] # IronPython.test_bz2_stdlib
204201
Ignore=true
205202

Src/StdLib/Lib/test/test_bytes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ def __bytes__(self):
754754
self.assertIs(type(BytesSubclass(A())), BytesSubclass)
755755

756756
# Test PyBytes_FromFormat()
757+
@unittest.skipIf(sys.implementation.name=='ironpython', 'CPython-specific test depending on ctypes.pythonapi')
757758
def test_from_format(self):
758759
test.support.import_module('ctypes')
759760
from ctypes import pythonapi, py_object, c_int, c_char_p

Tests/test_bytes_stdlib.py

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)