Skip to content

Commit 6a38010

Browse files
szokeasaurusrexsentrivana
authored andcommitted
test: fix test_installed_modules (#3309)
1 parent f52c9e3 commit 6a38010

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
serialize_frame,
2424
is_sentry_url,
2525
_get_installed_modules,
26+
_generate_installed_modules,
2627
)
2728

2829
import sentry_sdk
@@ -538,7 +539,7 @@ def test_installed_modules():
538539

539540
installed_distributions = {
540541
_normalize_distribution_name(dist): version
541-
for dist, version in _get_installed_modules().items()
542+
for dist, version in _generate_installed_modules()
542543
}
543544

544545
if importlib_available:

0 commit comments

Comments
 (0)