Skip to content

Commit 5420ead

Browse files
authored
chore(tests): remove sys.path modification warning from test_main.py
Removed the warning comment regarding changing the import path at runtime, as tests/conftest.py now handles PYTHONPATH adjustments.
1 parent 5c746ff commit 5420ead

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# This approach is used to allow importing main.py, which is located in the project's root directory,
1616
# when such tests rely on running the application entry point.
1717
# Note: main.py defines a main() function and runs it if executed directly by the user.
18-
# Modifying sys.path is less ideal because it involves changing the import path at runtime, which can lead to
19-
# maintenance issues or conflicts with the module namespace.
2018

2119
# # Uncomment the line below to update sys.path, adding the project root directory.
2220
# import sys

0 commit comments

Comments
 (0)