Skip to content

Commit

Permalink
FOR DEBUGGING ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
speleo3 committed Jan 31, 2024
1 parent 07ac951 commit a94665b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ def setUp(self):
if cliargs.no_undo:
cmd.set('suspend_undo', updates=0)

print("isclass", inspect.isclass(type(self)))
print("__module__", getattr(type(self), "__module__", None))
print("__file__", sys.modules[type(self).__module__].__file__)

cwd = os.path.dirname(inspect.getfile(type(self)))
os.chdir(cwd)

Expand Down

0 comments on commit a94665b

Please sign in to comment.