forked from platformio/platformio-core
PyLint fix
This commit is contained in:
@@ -264,7 +264,7 @@ def ProcessUnFlags(env, flags):
|
||||
env[key].remove(current)
|
||||
|
||||
|
||||
def StringifyMacro(env, value):
|
||||
def StringifyMacro(env, value): # pylint: disable=unused-argument
|
||||
return '\\"%s\\"' % value.replace('"', '\\\\\\"')
|
||||
|
||||
|
||||
|
@@ -299,4 +299,4 @@ projenv.Append(CPPDEFINES=[
|
||||
assert "MACRO_1=<Hello World!>" in result.output
|
||||
assert 'MACRO_2=<Text is "Quoted">' in result.output
|
||||
assert 'MACRO_3=<Hello "World"! Isn\'t true?>' in result.output
|
||||
assert 'MACRO_4=<Special chars: \',(,),[,],:>' in result.output
|
||||
assert "MACRO_4=<Special chars: ',(,),[,],:>" in result.output
|
||||
|
Reference in New Issue
Block a user