Skip to content

Commit 5a09b4d

Browse files
committed
Fix test_pep352 and test_attrinjector regressions
Add CancelledError to exception_hierarchy.txt so test_pep352 test_inheritance accounts for the new builtin exception. Isolate test_async in a separate process to prevent it from loading IronPythonTest assembly which causes duplicate SpecialName GetBoundMember on XmlElement in test_attrinjector.
1 parent 04b48e5 commit 5a09b4d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/core/IronPython.StdLib/lib/test/exception_hierarchy.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ BaseException
55
+-- Exception
66
+-- StopIteration
77
+-- StopAsyncIteration
8+
+-- CancelledError
89
+-- ArithmeticError
910
| +-- FloatingPointError
1011
| +-- OverflowError

tests/IronPython.Tests/Cases/IronPythonCasesManifest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ WorkingDirectory=$(TEST_FILE_DIR)
44
Redirect=false
55
Timeout=120000 # 2 minute timeout
66

7+
[IronPython.test_async]
8+
IsolationLevel=PROCESS # loads IronPythonTest assembly, causes a failure in IronPython.test_attrinjector
9+
710
[IronPython.test_builtin_stdlib]
811
RunCondition=NOT $(IS_MONO)
912
Reason=Exception on adding DocTestSuite

0 commit comments

Comments
 (0)