Skip to content

Commit 81ea0bc

Browse files
committed
Fix test import
1 parent f2d4b1c commit 81ea0bc

26 files changed

+43
-36
lines changed

test/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import asyncio
44
import sys
5-
from test import pytest_conf
6-
from test.synchronous import setup, teardown
5+
from test import pytest_conf, setup, teardown
76

87
import pytest
98

test/pymongo_mocks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import weakref
2020
from functools import partial
2121
from test import client_context
22-
from test.synchronous import client_context
2322

2423
from pymongo import MongoClient, common
2524
from pymongo.errors import AutoReconnect, NetworkTimeout

test/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
sys.path[0:0] = [""]
2525

26-
from test.synchronous import (
26+
from test import (
2727
IntegrationTest,
2828
PyMongoTestCase,
2929
SkipTest,

test/test_auth_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import os
2121
import sys
2222
import warnings
23-
from test.synchronous import PyMongoTestCase
23+
from test import PyMongoTestCase
2424

2525
sys.path[0:0] = [""]
2626

test/test_bulk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
sys.path[0:0] = [""]
2525

26-
from test.synchronous import IntegrationTest, client_context, remove_all_users, unittest
26+
from test import IntegrationTest, client_context, remove_all_users, unittest
2727
from test.utils import wait_until
2828

2929
from bson.binary import Binary, UuidRepresentation

test/test_change_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
sys.path[0:0] = [""]
3030

31-
from test.synchronous import (
31+
from test import (
3232
IntegrationTest,
3333
PyMongoTestCase,
3434
Version,

test/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
sys.path[0:0] = [""]
4646

47-
from test.synchronous import (
47+
from test import (
4848
HAVE_IPADDRESS,
4949
IntegrationTest,
5050
MockClientTest,
@@ -58,7 +58,7 @@
5858
remove_all_users,
5959
unittest,
6060
)
61-
from test.synchronous.pymongo_mocks import MockClient
61+
from test.pymongo_mocks import MockClient
6262
from test.test_binary import BinaryData
6363
from test.utils import (
6464
NTHREADS,

test/test_client_bulk_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
sys.path[0:0] = [""]
2222

23-
from test.synchronous import (
23+
from test import (
2424
IntegrationTest,
2525
client_context,
2626
unittest,

test/test_client_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
sys.path[0:0] = [""]
2020

21-
from test.synchronous import SkipTest, UnitTest, client_context, unittest
21+
from test import SkipTest, UnitTest, client_context, unittest
2222

2323
_IS_SYNC = True
2424

test/test_collation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import functools
1919
import warnings
20-
from test.synchronous import IntegrationTest, client_context, unittest
20+
from test import IntegrationTest, client_context, unittest
2121
from test.utils import EventListener
2222
from typing import Any
2323

0 commit comments

Comments
 (0)