diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-05-18 01:53:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 01:53:01 (GMT) |
commit | 9681953c99b686cf23d1c476a2b26d2ddbec7694 (patch) | |
tree | 599a06df91b58d1d3967546c7604c74ebba16b62 /Lib/test/test_argparse.py | |
parent | eefd4e033334a2a1d3929d0f7978469e5b5c4e56 (diff) | |
download | cpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.zip cpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.tar.gz cpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.tar.bz2 |
bpo-39058: Preserve attribute order in argparse Namespace reprs. (GH-17621)
Diffstat (limited to 'Lib/test/test_argparse.py')
-rw-r--r-- | Lib/test/test_argparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 9899a53..e82a0c3 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -4725,7 +4725,7 @@ class TestStrings(TestCase): def test_namespace(self): ns = argparse.Namespace(foo=42, bar='spam') - string = "Namespace(bar='spam', foo=42)" + string = "Namespace(foo=42, bar='spam')" self.assertStringEqual(ns, string) def test_namespace_starkwargs_notidentifier(self): |