Skip to content

Commit

Permalink
remove backports from later/tests/base.py
Browse files Browse the repository at this point in the history
Summary: Remove the tests for backports from the coverage run for python versions > 3.8

Reviewed By: cooperlees

Differential Revision: D48993265

fbshipit-source-id: 6af1d7870f9886b8a29761383a9ec54d7ff39bfc
  • Loading branch information
fried authored and facebook-github-bot committed Sep 6, 2023
1 parent a851dda commit 57dcdcd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions later/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@
# License for the specific language governing permissions and limitations
# under the License.

import sys
import unittest

from later.tests.test_event import Test_BiDirectionalEvent # noqa: F401
from later.tests.test_task import TaskTests, WatcherTests # noqa: F401
from later.tests.test_version import VersionTests # noqa: F401
from later.tests.unittest.backport.test_async_case import ( # noqa: F401
TestAsyncCase,
TestHangsForever,
)
from later.tests.unittest.backport.test_mock import TestPatch # noqa: F401

if sys.version_info[:2] < (3, 9):
from later.tests.unittest.backport.test_async_case import ( # noqa: F401
TestAsyncCase,
TestHangsForever,
)
from later.tests.unittest.backport.test_mock import TestPatch # noqa: F401
from later.tests.unittest.test_case import ( # noqa: F401
IgnoreAsyncioErrorsTestCase,
IgnoreTaskLeaksTestCase,
Expand Down

0 comments on commit 57dcdcd

Please sign in to comment.