mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 00:16:57 +00:00
Removed try-except around sensai import [ci skip]
This commit is contained in:
1 parent
1d0b3afdc9
commit
fb3a0f5b17
1 file changed
+1
-8
+1
-8
@@ -7,14 +7,7 @@ from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
import pytest
|
||||
|
||||
try:
|
||||
from sensai.util.logging import configure
|
||||
except Exception:
|
||||
# Fallback if 'sensai' is not installed: basic logging configuration
|
||||
def configure(level: int = logging.INFO) -> None:
|
||||
logging.basicConfig(level=level)
|
||||
|
||||
from sensai.util.logging import configure
|
||||
|
||||
from serena.config.serena_config import SerenaPaths
|
||||
from serena.constants import SERENA_MANAGED_DIR_NAME
|
||||
|
||||
Reference in new issue
Block a user