Skip to content

Commit 64478ae

Browse files
fangerercosminbasca
authored andcommitted
Update references of skipped tests
1 parent 1720a58 commit 64478ae

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

graalpython/lib-python/3/test/test_importlib/extension/test_loader.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def setUp(self):
104104
# Handling failure on reload is the up to the module.
105105
test_state_after_failure = None
106106

107-
@impl_detail("GR-26524 arrity error", graalvm=False)
107+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
108108
def test_module(self):
109109
'''Test loading an extension module'''
110110
with util.uncache(self.name):
@@ -119,7 +119,7 @@ def test_module(self):
119119
self.assertIsInstance(module.__loader__,
120120
self.machinery.ExtensionFileLoader)
121121

122-
@impl_detail("GR-26524 arrity error", graalvm=False)
122+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
123123
def test_functionality(self):
124124
'''Test basic functionality of stuff defined in an extension module'''
125125
with util.uncache(self.name):
@@ -140,7 +140,7 @@ def test_functionality(self):
140140
self.assertEqual(module.int_const, 1969)
141141
self.assertEqual(module.str_const, 'something different')
142142

143-
@impl_detail("GR-26524 arrity error", graalvm=False)
143+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
144144
def test_reload(self):
145145
'''Test that reload didn't re-set the module's attributes'''
146146
with util.uncache(self.name):
@@ -149,7 +149,7 @@ def test_reload(self):
149149
importlib.reload(module)
150150
self.assertIs(ex_class, module.Example)
151151

152-
@impl_detail("GR-26524 arrity error", graalvm=False)
152+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
153153
def test_try_registration(self):
154154
'''Assert that the PyState_{Find,Add,Remove}Module C API doesn't work'''
155155
module = self.load_module()
@@ -175,15 +175,15 @@ def load_module_by_name(self, fullname):
175175
loader.exec_module(module)
176176
return module
177177

178-
@impl_detail("GR-26524 arrity error", graalvm=False)
178+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
179179
def test_load_submodule(self):
180180
'''Test loading a simulated submodule'''
181181
module = self.load_module_by_name('pkg.' + self.name)
182182
self.assertIsInstance(module, types.ModuleType)
183183
self.assertEqual(module.__name__, 'pkg.' + self.name)
184184
self.assertEqual(module.str_const, 'something different')
185185

186-
@impl_detail("GR-26524 arrity error", graalvm=False)
186+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
187187
def test_load_short_name(self):
188188
'''Test loading module with a one-character name'''
189189
module = self.load_module_by_name('x')
@@ -192,7 +192,7 @@ def test_load_short_name(self):
192192
self.assertEqual(module.str_const, 'something different')
193193
self.assertNotIn('x', sys.modules)
194194

195-
@impl_detail("GR-26524 arrity error", graalvm=False)
195+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
196196
def test_load_twice(self):
197197
'''Test that 2 loads result in 2 module objects'''
198198
module1 = self.load_module_by_name(self.name)
@@ -213,7 +213,7 @@ def test_unloadable_nonascii(self):
213213
self.load_module_by_name(name)
214214
self.assertEqual(cm.exception.name, name)
215215

216-
@impl_detail("GR-26524 arrity error", graalvm=False)
216+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
217217
def test_nonmodule(self):
218218
'''Test returning a non-module object from create works'''
219219
name = self.name + '_nonmodule'
@@ -222,7 +222,7 @@ def test_nonmodule(self):
222222
self.assertEqual(mod.three, 3)
223223

224224
# issue 27782
225-
@impl_detail("GR-26524 arrity error", graalvm=False)
225+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
226226
def test_nonmodule_with_methods(self):
227227
'''Test creating a non-module object with methods defined'''
228228
name = self.name + '_nonmodule_with_methods'
@@ -231,15 +231,15 @@ def test_nonmodule_with_methods(self):
231231
self.assertEqual(mod.three, 3)
232232
self.assertEqual(mod.bar(10, 1), 9)
233233

234-
@impl_detail("GR-26524 arrity error", graalvm=False)
234+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
235235
def test_null_slots(self):
236236
'''Test that NULL slots aren't a problem'''
237237
name = self.name + '_null_slots'
238238
module = self.load_module_by_name(name)
239239
self.assertIsInstance(module, types.ModuleType)
240240
self.assertEqual(module.__name__, name)
241241

242-
@impl_detail("GR-26524 arrity error", graalvm=False)
242+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
243243
def test_bad_modules(self):
244244
'''Test SystemError is raised for misbehaving extensions'''
245245
for name_base in [
@@ -264,7 +264,7 @@ def test_bad_modules(self):
264264
with self.assertRaises(SystemError):
265265
self.load_module_by_name(name)
266266

267-
@impl_detail("GR-26524 arrity error", graalvm=False)
267+
@impl_detail("GR-26683 multi-phase init not supported", graalvm=False)
268268
def test_nonascii(self):
269269
'''Test that modules with non-ASCII names can be loaded'''
270270
# punycode behaves slightly differently in some-ASCII and no-ASCII

0 commit comments

Comments
 (0)