mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
8 lines
137 B
Python
8 lines
137 B
Python
"""Test that importing a module twice in a try block does raise a warning."""
|
|
|
|
try:
|
|
import os
|
|
import os
|
|
except:
|
|
pass
|
|
os.path
|