mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +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
|