Skip to content

Commit cffeca1

Browse files
committed
And now fix the docstring.
1 parent 0d391f4 commit cffeca1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jsonschema/tests/_suite.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def validate_ignoring_errors(self, **kwargs):
221221

222222
def _someone_save_us_the_module_of_the_caller():
223223
"""
224-
The module object of the 2nd stack frame up from here.
224+
The FQON of the module 2nd stack frames up from here.
225225
226226
This is intended to allow us to dynamicallly return test case classes that
227227
are indistinguishable from being defined in the module that wants them.
@@ -232,5 +232,4 @@ def _someone_save_us_the_module_of_the_caller():
232232
Save us all, this is all so so so so so terrible.
233233
"""
234234

235-
two_up = sys._getframe(2)
236-
return two_up.f_globals["__name__"]
235+
return sys._getframe(2).f_globals["__name__"]

0 commit comments

Comments
 (0)