Skip to content

Commit

Permalink
try adding event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 28, 2024
1 parent 939db59 commit 98d47f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lumen/tests/sources/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import asyncio

import pandas as pd
import pytest

Expand All @@ -19,3 +21,9 @@ def source_tables():
}
yield tables
pd.set_option('mode.string_storage', string)


try:
asyncio.get_event_loop()
except (RuntimeError, DeprecationWarning):
asyncio.set_event_loop(asyncio.new_event_loop())

0 comments on commit 98d47f7

Please sign in to comment.