Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 694e042

Browse files
committed
fixed event loop error
1 parent 3906ea6 commit 694e042

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

tests/system/data/test_metrics_async.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,6 @@ def __getattr__(self, name):
135135

136136
@CrossSync.convert_class(sync_name="TestMetrics")
137137
class TestMetricsAsync(SystemTestRunner):
138-
@CrossSync.drop
139-
@pytest.fixture(scope="session")
140-
def event_loop(self):
141-
loop = asyncio.get_event_loop()
142-
yield loop
143-
loop.stop()
144-
loop.close()
145-
146138
def _make_client(self):
147139
project = os.getenv("GOOGLE_CLOUD_PROJECT") or None
148140
return CrossSync.DataClient(project=project)

tests/system/data/test_system_async.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,6 @@ async def create_row_and_mutation(
156156

157157
@CrossSync.convert_class(sync_name="TestSystem")
158158
class TestSystemAsync(SystemTestRunner):
159-
@CrossSync.drop
160-
@pytest.fixture(scope="session")
161-
def event_loop(self):
162-
loop = asyncio.get_event_loop()
163-
yield loop
164-
loop.stop()
165-
loop.close()
166-
167159
def _make_client(self):
168160
project = os.getenv("GOOGLE_CLOUD_PROJECT") or None
169161
return CrossSync.DataClient(project=project)

0 commit comments

Comments
 (0)