File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -2504,6 +2504,7 @@ private void AddSubType(PythonType subtype) {
25042504 }
25052505
25062506 lock ( _subtypesLock ) {
2507+ _subtypes . RemoveAll ( x => ! x . TryGetTarget ( out _ ) ) ; // remove dead entries
25072508 _subtypes . Add ( new WeakReference < PythonType > ( subtype ) ) ;
25082509 }
25092510 }
Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ Reason=New test needs to be written for new csharp version
5454Ignore =true
5555Reason =Assertion error
5656
57- [IronPython.test_memory]
58- # RunCondition=NOT $(IS_POSIX)
59- # Reason=Memory allocation on Mono may not match MS.NET
60- Ignore =true
61- Reason =Fails intermittently - https://github.com/IronLanguages/ironpython3/issues/508
62-
6357[IronPython.test_number]
6458Timeout =300000 # 5 minute timeout - slow on macOS
6559
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ def setUp(self):
8282 from Microsoft .Scripting .Generation import Snippets
8383
8484 self .skipMemoryCheck = Snippets .Shared .SaveSnippets or clr .GetCurrentRuntime ().Configuration .DebugMode
85- self .expectedMem = 24000
8685
8786 # account for adaptive compilation
87+ self .expectedMem = 24000
8888 if is_cli64 :
8989 self .expectedMem = int (self .expectedMem * 1.25 )
9090
You can’t perform that action at this time.
0 commit comments