Skip to content

Commit 04ffac3

Browse files
committed
repr the line
1 parent 37e11a2 commit 04ffac3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

reflex/testing.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,16 +405,13 @@ def _wait_frontend(self):
405405
)
406406
if not line:
407407
break
408-
print(line) # for pytest diagnosis #noqa: T201
408+
print(repr(line)) # for pytest diagnosis #noqa: T201
409409
m = re.search(reflex.constants.Next.FRONTEND_LISTENING_REGEX, line)
410410
if m is not None:
411-
print(m.group(1)) # for pytest diagnosis #noqa: T201
412411
self.frontend_url = m.group(1)
413412
config = reflex.config.get_config()
414413
config.deploy_url = self.frontend_url
415414
break
416-
else:
417-
print("No match found.") # for pytest diagnosis #noqa: T201
418415
if self.frontend_url is None:
419416
raise RuntimeError("Frontend did not start")
420417

0 commit comments

Comments
 (0)