mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
7 lines
136 B
Python
7 lines
136 B
Python
"""Test that importing a module twice within an if block does raise a warning."""
|
|
|
|
i = 2
|
|
if i == 1:
|
|
import os
|
|
import os
|
|
os.path
|