We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8591c1 commit e7d5b40Copy full SHA for e7d5b40
1 file changed
unittesting/base.py
@@ -55,7 +55,7 @@ def current_package_name(self):
55
view = self.window.active_view()
56
if view and view.file_name():
57
file_path = relative_to_spp(view.file_name())
58
- if file_path and file_path.endswith(".py"):
+ if file_path:
59
return file_path.split(os.sep)[1]
60
61
folders = self.window.folders()
0 commit comments