diff options
| author | 2022-08-29 02:17:22 -0400 | |
|---|---|---|
| committer | 2022-08-29 02:17:22 -0400 | |
| commit | ba3ac631ac4e8820d3d701980782ab4a03c1276b (patch) | |
| tree | 06eecd8b697bf84e96d8347453bb66ba8689fc8b /test/test_formatter.py | |
| parent | 011fcf09a56e256bc5d78bcbc629e6f6f76b053d (diff) | |
| parent | a768930761f7f20587ae40a8cacca0e55c85290a (diff) | |
Update upstream source from tag 'upstream/1.23.0'
Update to upstream version '1.23.0'
with Debian dir 8809d3b22d175263b51492e17e8298cdd52f7af1
Diffstat (limited to 'test/test_formatter.py')
| -rw-r--r-- | test/test_formatter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_formatter.py b/test/test_formatter.py index aec091a..b335332 100644 --- a/test/test_formatter.py +++ b/test/test_formatter.py @@ -58,6 +58,7 @@ class TestFormatter(unittest.TestCase): self._run_test("{dt!T}", "1262304000") self._run_test("{l!j}", '["a", "b", "c"]') self._run_test("{dt!j}", '"2010-01-01 00:00:00"') + self._run_test("{a!g}", "hello-world") with self.assertRaises(KeyError): self._run_test("{a!q}", "hello world") @@ -177,7 +178,7 @@ class TestFormatter(unittest.TestCase): self._run_test("{l:J - />20}", " a - b - c") self._run_test("{a:J/}" , self.kwdict["a"]) - self._run_test("{a:J, /}" , ", ".join(self.kwdict["a"])) + self._run_test("{a:J, /}" , self.kwdict["a"]) def test_replace(self): self._run_test("{a:Rh/C/}" , "CElLo wOrLd") |
