@@ -1210,10 +1210,10 @@ def test(i):
12101210 result = pytester .runpytest ("-n2" , "--dist=isoscope" , "-v" )
12111211 assert get_workers_and_test_count_by_prefix (
12121212 "test_a.py::test" , result .outlines
1213- ) in ( {"gw0" : 10 }, { "gw1" : 10 })
1213+ ) == {"gw0" : 5 , "gw1" : 5 }
12141214 assert get_workers_and_test_count_by_prefix (
12151215 "test_b.py::test" , result .outlines
1216- ) in ( {"gw0" : 10 }, { "gw1" : 10 })
1216+ ) == {"gw0" : 5 , "gw1" : 5 }
12171217
12181218 def test_by_class (self , pytester : pytest .Pytester ) -> None :
12191219 pytester .makepyfile (
@@ -1233,13 +1233,13 @@ def test(self, i):
12331233 result = pytester .runpytest ("-n2" , "--dist=isoscope" , "-v" )
12341234 assert get_workers_and_test_count_by_prefix (
12351235 "test_a.py::TestA" , result .outlines
1236- ) in ( {"gw0" : 10 }, { "gw1" : 10 })
1236+ ) == {"gw0" : 5 , "gw1" : 5 }
12371237 assert get_workers_and_test_count_by_prefix (
12381238 "test_a.py::TestB" , result .outlines
1239- ) in ( {"gw0" : 10 }, { "gw1" : 10 })
1239+ ) == {"gw0" : 5 , "gw1" : 5 }
12401240
12411241 def test_module_single_start (self , pytester : pytest .Pytester ) -> None :
1242- """Ensure test suite finishing in case all workers start with a single test (#277)."""
1242+ """Ensure test suite is finishing in case all workers start with a single test (#277)."""
12431243 test_file1 = """
12441244 import pytest
12451245 def test():
@@ -1260,7 +1260,7 @@ def test_2():
12601260 c2 = get_workers_and_test_count_by_prefix ("test_c.py::test_2" , result .outlines )
12611261 assert a in ({"gw0" : 1 }, {"gw1" : 1 })
12621262 assert b in ({"gw0" : 1 }, {"gw1" : 1 })
1263- assert a .items () ! = b .items ()
1263+ assert a .items () = = b .items ()
12641264 assert c1 == c2
12651265
12661266
0 commit comments