Created
August 19, 2021 11:55
-
-
Save sllynn/fde1213cbe8881478d3ac925541de679 to your computer and use it in GitHub Desktop.
Reload a python module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
try: | |
sys.modules.pop("tests.test_advanced") | |
from tests.test_advanced import AdvancedTestSuite | |
except KeyError as e: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment