You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is my code:
if remove:
try:
self.de_register(silent=True)
os.unlink(self.path)
except OSError as error: # pragma: escape_win
logger.debug('%s could not be removed (%s)', self.path, error)
This is my environment:
get_env_info()['platform_system']
'Windows'
The text was updated successfully, but these errors were encountered:
Just as a follow up. I thought I would upgrade to see if that solved my issue. Still no luck, however - if I move my .coveragerc file to the root of my project it works. I guess I will live with that for now. I will change the title of this issue
sagshome
changed the title
Conditional does not appear to work with platform_system
Conditional does not work when the .coveragerc file is NOT at the project root
Jun 3, 2023
Here is my rule:
[coverage_conditional_plugin]
rules =
"platform_system == 'Windows'": escape_win
Here is my code:
if remove:
try:
self.de_register(silent=True)
os.unlink(self.path)
except OSError as error: # pragma: escape_win
logger.debug('%s could not be removed (%s)', self.path, error)
This is my environment:
get_env_info()['platform_system']
'Windows'
The text was updated successfully, but these errors were encountered: