Skip to content

Commit ea2f66e

Browse files
authored
Enable some tests (#1064)
1 parent e974752 commit ea2f66e

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

Src/IronPythonTest/Cases/CPythonCasesManifest.ini

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Reason=ImportError: No module named _crypt
322322

323323
[CPython.test_ctypes]
324324
Ignore=true
325-
Reason=Blocked by https://github.com/IronLanguages/ironpython3/issues/11
325+
Reason=Covered by individual test cases - CPython.ctypes.test
326326

327327
[CPython.test_curses]
328328
RunCondition=$(IS_POSIX)
@@ -486,7 +486,7 @@ Reason=Creates/deletes a directory with static name 'xx'
486486

487487
[CPython.test_glob]
488488
Ignore=true
489-
Reason=Blocked by https://github.com/IronLanguages/ironpython3/issues/11
489+
Reason=cannot use a string pattern on a bytes-like object
490490

491491
[CPython.test_grp]
492492
RunCondition=$(IS_POSIX)
@@ -567,7 +567,6 @@ Ignore=true
567567

568568
[CPython.test_lib2to3]
569569
Ignore=true
570-
Reason=Blocked by https://github.com/IronLanguages/ironpython3/issues/11
571570

572571
[CPython.test_list]
573572
IsolationLevel=ENGINE
@@ -1000,7 +999,6 @@ Reason=ImportError: No module named '_tkinter'
1000999

10011000
[CPython.test_tokenize]
10021001
Ignore=true
1003-
Reason=Blocked by https://github.com/IronLanguages/ironpython3/issues/11
10041002

10051003
[CPython.test_tools]
10061004
Ignore=true
@@ -1125,25 +1123,15 @@ Ignore=true
11251123
[CPython.test_zlib]
11261124
Ignore=true
11271125

1128-
[CPython.unittest.test_assertions]
1129-
Ignore=true
1130-
Reason=Blocked by https://github.com/IronLanguages/ironpython3/issues/11
1131-
11321126
[CPython.unittest.test_break]
11331127
Ignore=true
11341128

11351129
[CPython.unittest.test_case]
11361130
Ignore=true
11371131

1138-
[CPython.unittest.test_discovery]
1139-
Ignore=true
1140-
11411132
[CPython.unittest.test_loader]
11421133
Ignore=true
11431134

1144-
[CPython.unittest.test_result]
1145-
Ignore=true
1146-
11471135
[CPython.unittest.test_runner]
11481136
Ignore=true
11491137

Src/StdLib/Lib/unittest/test/test_assertions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ def test_with(self):
124124
self.foo()
125125

126126
Foo("test_functional").run()
127+
import gc; gc.collect() # ironpython requires a GC to release the reference
127128
self.assertIsNone(wr())
128129
Foo("test_with").run()
130+
gc.collect() # ironpython requires a GC to release the reference
129131
self.assertIsNone(wr())
130132

131133
def testAssertNotRegex(self):

0 commit comments

Comments
 (0)