@@ -103,21 +103,20 @@ def load_tests(loader, standard_tests, pattern):
103103 test .test_io .CTextIOWrapperTest ('test_bufio_write_through' ), # StackOverflowException
104104 test .test_io .CTextIOWrapperTest ('test_override_destructor' ), # StackOverflowException
105105
106+ # __del__ not getting called on shutdown?
107+ test .test_io .CTextIOWrapperTest ('test_create_at_shutdown_with_encoding' ),
108+ test .test_io .CTextIOWrapperTest ('test_create_at_shutdown_without_encoding' ),
109+ test .test_io .PyTextIOWrapperTest ('test_create_at_shutdown_with_encoding' ),
110+ test .test_io .PyTextIOWrapperTest ('test_create_at_shutdown_without_encoding' ),
111+ test .test_io .CMiscIOTest ('test_daemon_threads_shutdown_stderr_deadlock' ),
112+ test .test_io .CMiscIOTest ('test_daemon_threads_shutdown_stdout_deadlock' ),
113+
106114 # failure prevents files from closing
107115 test .test_io .CTextIOWrapperTest ('test_seek_and_tell' ), # TypeError: NoneType is not callable
108116 test .test_io .CMiscIOTest ('test_attributes' ), # AssertionError: 'r' != 'U'
109117 test .test_io .PyMiscIOTest ('test_attributes' ), # AssertionError: 'wb+' != 'rb+'
110118 ]
111119
112- if is_netcoreapp :
113- # __del__ not getting called on shutdown
114- skip_tests += [
115- test .test_io .CTextIOWrapperTest ('test_create_at_shutdown_with_encoding' ), # AssertionError: 'ok' != ''
116- test .test_io .CTextIOWrapperTest ('test_create_at_shutdown_without_encoding' ), # AssertionError: 'ok' != ''
117- test .test_io .PyTextIOWrapperTest ('test_create_at_shutdown_with_encoding' ), # AssertionError: 'ok' != ''
118- test .test_io .PyTextIOWrapperTest ('test_create_at_shutdown_without_encoding' ), # AssertionError: 'ok' != ''
119- ]
120-
121120 return generate_suite (tests , failing_tests , skip_tests )
122121
123122 else :
0 commit comments