File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1853,6 +1853,7 @@ def test_external_data_file_xdist(testdir):
1853
1853
assert glob .glob (str (testdir .tmpdir .join ('some/special/place/coverage-data*' )))
1854
1854
1855
1855
1856
+ @pytest .mark .skipif ('sys.platform == "win32" and platform.python_implementation() == "PyPy"' )
1856
1857
def test_xdist_no_data_collected (testdir ):
1857
1858
testdir .makepyfile (target = "x = 123" )
1858
1859
script = testdir .makepyfile ("""
@@ -1864,11 +1865,11 @@ def test_foobar():
1864
1865
'--cov=target' ,
1865
1866
'-n' , '1' ,
1866
1867
script )
1867
- assert result .ret == 0
1868
1868
assert 'no-data-collected' not in result .stderr .str ()
1869
1869
assert 'no-data-collected' not in result .stdout .str ()
1870
1870
assert 'module-not-imported' not in result .stderr .str ()
1871
1871
assert 'module-not-imported' not in result .stdout .str ()
1872
+ assert result .ret == 0
1872
1873
1873
1874
1874
1875
def test_external_data_file_negative (testdir ):
You can’t perform that action at this time.
0 commit comments