Skip to content

Commit 23a5fc3

Browse files
YunchuWangpeterstone2017
andauthored
unskip lc tests (#1077)
* unskip lc tests * flakey8 * skip for 3.10 lc tests only Co-authored-by: peterstone2017 <[email protected]>
1 parent 74aea84 commit 23a5fc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/endtoend/test_linux_consumption.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Licensed under the MIT License.
33
import os
44
import sys
5-
from unittest import TestCase, skip
65

6+
from unittest import TestCase, skipIf
77
from requests import Request
88

99
from azure_functions_worker.testutils_lc import (
@@ -13,7 +13,8 @@
1313
_DEFAULT_HOST_VERSION = "4"
1414

1515

16-
@skip
16+
@skipIf(sys.version_info >= (3, 10, 0),
17+
"Skip the tests for Python 3.10 and above")
1718
class TestLinuxConsumption(TestCase):
1819
"""Test worker behaviors on specific scenarios.
1920

0 commit comments

Comments
 (0)