Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/IronPython.Tests/Cases/IronPythonCasesManifest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,6 @@ RunCondition=$(IS_POSIX) # Module resource is Posix-specific
[IronPython.modules.system_related.test_sys_getframe]
IsolationLevel=PROCESS # https://github.com/IronLanguages/ironpython3/issues/489
FullFrames=true

[IronPython.modules.system_related.test_sys]
RunCondition=NOT $(IS_NETCOREAPP) # https://github.com/IronLanguages/ironpython3/issues/2057
6 changes: 5 additions & 1 deletion tests/suite/test_array_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import sys

from iptest import is_ironpython, generate_suite, run_test
from iptest import is_ironpython, generate_suite, run_test, is_posix

import test.test_array

Expand Down Expand Up @@ -64,6 +64,10 @@ def load_tests(loader, standard_tests, pattern):
test.test_array.UnsignedShortTest('test_subclass_with_kwargs'), # https://github.com/IronLanguages/ironpython3/issues/767
test.test_array.UnsignedShortTest('test_type_error'), # https://github.com/IronLanguages/ironpython3/issues/767
]
if is_posix:
failing_tests += [
test.test_array.LongTest('test_overflow'), # https://github.com/IronLanguages/ironpython3/issues/767
]

skip_tests = []

Expand Down
4 changes: 4 additions & 0 deletions tests/suite/test_dict_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def load_tests(loader, standard_tests, pattern):
skip_tests += [
test.test_dict.DictTest('test_container_iterator'), # https://github.com/IronLanguages/ironpython3/issues/544
]
if sys.version_info >= (3, 6):
skip_tests += [
test.test_dict.DictTest('test_free_after_iterating') # AssertionError
]

return generate_suite(tests, failing_tests, skip_tests)

Expand Down
2 changes: 1 addition & 1 deletion tests/suite/test_socket_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def load_tests(loader, standard_tests, pattern):
failing_tests += [
test.test_socket.GeneralModuleTests('test_socket_fileno_requires_socket_fd'),
]
if is_linux or (is_osx and net_version < (10, 0)):
if is_mono or sys.version_info < (3, 6) and (is_linux or (is_osx and net_version < (10, 0))):
failing_tests += [
test.test_socket.NonBlockingTCPTests('testRecv'), # TODO: figure out
]
Expand Down
4 changes: 2 additions & 2 deletions tests/suite/test_stdconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
import unittest

from iptest import IronPythonTestCase, is_cli, is_netcoreapp21, is_posix, run_test, skipUnlessIronPython
from iptest import IronPythonTestCase, is_cli, is_netcoreapp21, is_posix, run_test, skipUnlessIronPython, is_netcoreapp

if is_cli:
import clr
Expand Down Expand Up @@ -404,7 +404,7 @@ def test_isatty(self):
finally:
self.batfile = hideDefaultBatch

@skipUnlessIronPython()
@unittest.skipIf(not is_cli or is_netcoreapp, "https://github.com/IronLanguages/ironpython3/issues/2057")
def test_cp35263(self):
script = """
import warnings
Expand Down
18 changes: 11 additions & 7 deletions tests/suite/test_types_stdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import sys

from iptest import is_ironpython, generate_suite, run_test
from iptest import is_ironpython, generate_suite, run_test, is_netcoreapp

import test.test_types

Expand All @@ -28,12 +28,16 @@ def load_tests(loader, standard_tests, pattern):
]
if sys.version_info >= (3, 6):
failing_tests += [
test.test_types.ClassCreationTests('test_bad___prepare__'), # AssertionError
test.test_types.ClassCreationTests('test_one_argument_type'), # AssertionError: TypeError not raised
test.test_types.CoroutineTests('test_gen'), # https://github.com/IronLanguages/ironpython3/issues/98
test.test_types.CoroutineTests('test_genfunc'), # https://github.com/IronLanguages/ironpython3/issues/98
test.test_types.CoroutineTests('test_returning_itercoro'), # https://github.com/IronLanguages/ironpython3/issues/98
]
test.test_types.ClassCreationTests('test_bad___prepare__'), # AssertionError
test.test_types.ClassCreationTests('test_one_argument_type'), # AssertionError: TypeError not raised
test.test_types.CoroutineTests('test_gen'), # https://github.com/IronLanguages/ironpython3/issues/98
test.test_types.CoroutineTests('test_genfunc'), # https://github.com/IronLanguages/ironpython3/issues/98
test.test_types.CoroutineTests('test_returning_itercoro'), # https://github.com/IronLanguages/ironpython3/issues/98
]
if is_netcoreapp:
failing_tests += [
test.test_types.CoroutineTests('test_duck_functional_gen'), # https://github.com/IronLanguages/ironpython3/issues/2054#issuecomment-4722599371 - TypeError: object of type 'str' can't be used in 'await' expression
]

skip_tests = []

Expand Down