File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -748,8 +748,6 @@ def f():
748
748
@pytest .mark .expensive
749
749
@pytest .mark .skipif (env .METACOV , reason = "Can't test fullcoverage when measuring ourselves" )
750
750
@pytest .mark .skipif (not env .C_TRACER , reason = "fullcoverage only works with the C tracer." )
751
- @pytest .mark .skipif (env .PYVERSION [:2 ] >= (3 , 11 ), reason = "this test needs work on 3.11" )
752
- # https://github.com/nedbat/coveragepy/issues/1278
753
751
def test_fullcoverage (self ):
754
752
# fullcoverage is a trick to get stdlib modules measured from
755
753
# the very beginning of the process. Here we import os and
@@ -764,7 +762,7 @@ def test_fullcoverage(self):
764
762
)
765
763
self .set_environ ("FOOEY" , "BOO" )
766
764
self .set_environ ("PYTHONPATH" , fullcov )
767
- out = self .run_command ("python -m coverage run -L getenv.py" )
765
+ out = self .run_command ("python -X frozen_modules=off - m coverage run -L getenv.py" )
768
766
assert out == "FOOEY == BOO\n "
769
767
data = coverage .CoverageData ()
770
768
data .read ()
You can’t perform that action at this time.
0 commit comments