浏览代码

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