diff --git a/src/mepo/utilities/chdir.py b/src/mepo/utilities/chdir.py index a1ab48a..1b8922d 100644 --- a/src/mepo/utilities/chdir.py +++ b/src/mepo/utilities/chdir.py @@ -1,4 +1,5 @@ """contextlib.chdir was introduced in Python 3.11""" + import os from contextlib import contextmanager diff --git a/tests/test_mepo_commands.py b/tests/test_mepo_commands.py index 4721389..bb5b8ad 100644 --- a/tests/test_mepo_commands.py +++ b/tests/test_mepo_commands.py @@ -27,6 +27,7 @@ import mepo.command.diff as mepo_diff import mepo.command.whereis as mepo_whereis import mepo.command.reset as mepo_reset + # Import commands with dash in the name mepo_restore_state = importlib.import_module("mepo.command.restore-state") mepo_checkout_if_exists = importlib.import_module("mepo.command.checkout-if-exists") @@ -34,6 +35,7 @@ TEST_DIR = os.path.dirname(os.path.realpath(__file__)) + class TestMepoCommands(unittest.TestCase): @classmethod