Browse Source

Fix benchmark tests (#3822)

Elijah Ahianyo 9 tháng trước cách đây
mục cha
commit
9c656a0f9c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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