Skip to content

Commit 1e49b7c

Browse files
committed
lintfix2
Signed-off-by: Pablo Garay <[email protected]>
1 parent e2d9cb9 commit 1e49b7c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit_tests/test_api_backwards_compat_setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
python tests/unit_tests/test_api_backwards_compat_setup.py
1414
"""
1515

16+
import io
1617
import sys
1718
from pathlib import Path
1819

1920
# Configure UTF-8 for Windows
2021
if sys.platform == 'win32':
21-
import io
22-
2322
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
2423
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8', errors='replace')
2524

@@ -86,7 +85,7 @@ def test_decorators_work():
8685
"""Test that decorators can be applied"""
8786
print("\n5. Testing decorator functionality...", end=" ")
8887
try:
89-
from megatron.core.utils import internal_api, deprecated
88+
from megatron.core.utils import deprecated, internal_api
9089

9190
# Test internal_api decorator
9291
@internal_api

0 commit comments

Comments
 (0)