We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce143b3 commit c333f8aCopy full SHA for c333f8a
tests/test_serialization.py
@@ -349,7 +349,7 @@ def test_deprecated_argument(self):
349
actions = {a["dest"]: a for a in data["actions"]}
350
351
assert actions["old_flag"]["deprecated"] is True
352
- assert actions["new_flag"]["deprecated"] is False
+ assert "deprecated" not in actions["new_flag"]
353
354
def test_deprecated_defaults_to_false(self):
355
parser = argparse.ArgumentParser()
0 commit comments