Skip to content

Commit a68928b

Browse files
committed
Fixing unit tests
1 parent b86e64b commit a68928b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/unittests/test_utilities_dependency.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,8 @@ def test_use_worker_dependencies_default_python_36_37_38_39(self):
571571
with self.assertRaises(ImportError):
572572
import common_module # NoQA
573573

574-
@unittest.skipUnless(
575-
is_python_version('3.10'),
576-
'Test only available for python 3.10'
577-
)
574+
@unittest.skip('Skipping since PYTHON_ISOLATE_WORKER_DEPENDENCIES is '
575+
'disabled by default')
578576
def test_use_worker_dependencies_default_python_310(self):
579577
# Feature should be enabled in Python 3.10 by default
580578
# Setup paths
@@ -642,8 +640,8 @@ def test_prioritize_customer_dependencies_default_python_36_37_38_39(self):
642640
with self.assertRaises(ImportError):
643641
import common_module # NoQA
644642

645-
@unittest.skipUnless(is_python_version('3.10'),
646-
'Test only available for python 3.10')
643+
@unittest.skip('Skipping since PYTHON_ISOLATE_WORKER_DEPENDENCIES is '
644+
'disabled by default')
647645
def test_prioritize_customer_dependencies_default_python_310(self):
648646
# Feature should be enabled in Python 3.10 by default
649647
# Setup paths

0 commit comments

Comments
 (0)