소스 검색

Fix benchmark tests (#3822)

Elijah Ahianyo 9 달 전
부모
커밋
9c656a0f9c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      benchmarks/test_benchmark_compile_pages.py

+ 1 - 1
benchmarks/test_benchmark_compile_pages.py

@@ -7,7 +7,6 @@ import time
 from typing import Generator
 
 import pytest
-import reflex_chakra as rc
 
 from benchmarks import WINDOWS_SKIP_REASON
 from reflex import constants
@@ -131,6 +130,7 @@ def render_multiple_pages(app, num: int):
 
 def AppWithOnePage():
     """A reflex app with one page."""
+    import reflex_chakra as rc
     from rxconfig import config  # type: ignore
 
     import reflex as rx