Skip to content

Commit

Permalink
Merge pull request #355 from Yelp/StefanoChiodino-patch-1
Browse files Browse the repository at this point in the history
fix plugin loading
  • Loading branch information
StefanoChiodino authored Oct 6, 2023
2 parents 3ae7a1a + e8c6352 commit 32466d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testify/test_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def load_plugins():
mod_name = '_testify_plugin__' + mod_name

try:
SourceFileLoader(mod_name, full_file_path).load_module()
module_type = SourceFileLoader(mod_name, full_file_path).load_module()
plugin_modules.append(module_type)
except TypeError:
continue
except ImportError as e:
Expand Down

0 comments on commit 32466d2

Please sign in to comment.