We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 457e9cb commit ce3f837Copy full SHA for ce3f837
pytest_cases/common_others.py
@@ -555,7 +555,7 @@ def make_identifier(name # type: str
555
if not isinstance(name, string_types):
556
raise TypeError("name should be a string, found : %r" % name)
557
558
- if iskeyword(name):
+ if iskeyword(name) or (not PY3 and name == "None"):
559
# reserved keywords: add an underscore
560
name = name + "_"
561
0 commit comments