File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,14 @@ class EntryPoint:
171
171
Traceback (most recent call last):
172
172
...
173
173
ValueError: ('Invalid object reference...invalid-name...
174
+
175
+ The same thing happens on construction.
176
+
177
+ >>> EntryPoint(name=None, group=None, value='invalid-name')
178
+ Traceback (most recent call last):
179
+ ...
180
+ ValueError: ('Invalid object reference...invalid-name...
181
+
174
182
"""
175
183
176
184
pattern = re .compile (
@@ -202,6 +210,7 @@ class EntryPoint:
202
210
203
211
def __init__ (self , name : str , value : str , group : str ) -> None :
204
212
vars (self ).update (name = name , value = value , group = group )
213
+ self .module
205
214
206
215
def load (self ) -> Any :
207
216
"""Load the entry point from its definition. If only a module
You can’t perform that action at this time.
0 commit comments