Skip to content

Commit 7138ca7

Browse files
committed
lintfix
Signed-off-by: Pablo Garay <[email protected]>
1 parent 90ccd05 commit 7138ca7

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/unit_tests/test_api_backwards_compat_setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# Configure UTF-8 for Windows
2020
if sys.platform == 'win32':
2121
import io
22+
2223
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
2324
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8', errors='replace')
2425

@@ -42,10 +43,7 @@ def test_decorator_module():
4243
"""Test that the compat decorator module exists"""
4344
print("\n2. Testing decorator module...", end=" ")
4445
try:
45-
from megatron.core.utils import (
46-
deprecated,
47-
internal_api,
48-
)
46+
from megatron.core.utils import deprecated, internal_api
4947

5048
print("✅ Decorator module found")
5149
print(" Available: @internal_api, @deprecated")
@@ -88,10 +86,7 @@ def test_decorators_work():
8886
"""Test that decorators can be applied"""
8987
print("\n5. Testing decorator functionality...", end=" ")
9088
try:
91-
from megatron.core.utils import (
92-
internal_api,
93-
deprecated,
94-
)
89+
from megatron.core.utils import internal_api, deprecated
9590

9691
# Test internal_api decorator
9792
@internal_api

0 commit comments

Comments
 (0)