Skip to content

Commit b29ae4d

Browse files
author
Rickard Holmberg
committed
Rename tests
1 parent 4d50805 commit b29ae4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tests/test_subclass.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_isinstance_check():
191191
assert isinstance(x, System.Object)
192192
assert isinstance(x, System.String)
193193

194-
def test_clr_subclass_with_init_args():
194+
def test_namespace_and_init():
195195
calls = []
196196
class TestX(System.Object):
197197
__namespace__ = "test_clr_subclass_with_init_args"
@@ -202,7 +202,7 @@ def __init__(self, *args, **kwargs):
202202
assert calls[0][0] == (1,2,3)
203203
assert calls[0][1] == {"foo":"bar"}
204204

205-
def test_clr_subclass_without_init_args():
205+
def test_namespace_and_argless_init():
206206
calls = []
207207
class TestX(System.Object):
208208
__namespace__ = "test_clr_subclass_without_init_args"
@@ -213,14 +213,14 @@ def __init__(self):
213213
assert calls[0] == True
214214

215215

216-
def test_clr_subclass_without_init():
216+
def test_namespace_and_no_init():
217217
class TestX(System.Object):
218218
__namespace__ = "test_clr_subclass_without_init"
219219
q = 1
220220
t = TestX()
221221
assert t.q == 1
222222

223-
def test_clr_subclass_init_from_clr():
223+
def test_construction_from_clr():
224224
import clr
225225
calls = []
226226
class TestX(System.Object):

0 commit comments

Comments
 (0)