@@ -191,7 +191,7 @@ def test_isinstance_check():
191
191
assert isinstance (x , System .Object )
192
192
assert isinstance (x , System .String )
193
193
194
- def test_clr_subclass_with_init_args ():
194
+ def test_namespace_and_init ():
195
195
calls = []
196
196
class TestX (System .Object ):
197
197
__namespace__ = "test_clr_subclass_with_init_args"
@@ -202,7 +202,7 @@ def __init__(self, *args, **kwargs):
202
202
assert calls [0 ][0 ] == (1 ,2 ,3 )
203
203
assert calls [0 ][1 ] == {"foo" :"bar" }
204
204
205
- def test_clr_subclass_without_init_args ():
205
+ def test_namespace_and_argless_init ():
206
206
calls = []
207
207
class TestX (System .Object ):
208
208
__namespace__ = "test_clr_subclass_without_init_args"
@@ -213,14 +213,14 @@ def __init__(self):
213
213
assert calls [0 ] == True
214
214
215
215
216
- def test_clr_subclass_without_init ():
216
+ def test_namespace_and_no_init ():
217
217
class TestX (System .Object ):
218
218
__namespace__ = "test_clr_subclass_without_init"
219
219
q = 1
220
220
t = TestX ()
221
221
assert t .q == 1
222
222
223
- def test_clr_subclass_init_from_clr ():
223
+ def test_construction_from_clr ():
224
224
import clr
225
225
calls = []
226
226
class TestX (System .Object ):
0 commit comments