diff -r e0f98cc25bf5 -r 32dd11232e06 src/eric7/DebugClients/Python/coverage/env.py --- a/src/eric7/DebugClients/Python/coverage/env.py Wed Jul 20 16:03:55 2022 +0200 +++ b/src/eric7/DebugClients/Python/coverage/env.py Wed Jul 20 16:13:29 2022 +0200 @@ -110,6 +110,9 @@ # Some words are keywords in some places, identifiers in other places. soft_keywords = (PYVERSION >= (3, 10)) + # Modules start with a line numbered zero. This means empty modules have + # only a 0-number line, which is ignored, giving a truly empty module. + empty_is_empty = (PYVERSION >= (3, 11, 0, 'beta', 4)) # Coverage.py specifics.