Explorar o código

[test/helper] Render info_dict with a final comma

Philipp Hagemeister %!s(int64=10) %!d(string=hai) anos
pai
achega
f21e915fb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/helper.py

+ 1 - 1
test/helper.py

@@ -170,7 +170,7 @@ def expect_info_dict(self, got_dict, expected_dict):
             '    %s: %s,\n' % (_repr(k), _repr(test_info_dict[k]))
             for k in missing_keys)
         write_string(
-            '\n\'info_dict\': {\n' + info_dict_str + '}\n', out=sys.stderr)
+            '\n\'info_dict\': {\n' + info_dict_str + '},\n', out=sys.stderr)
         self.assertFalse(
             missing_keys,
             'Missing keys in test definition: %s' % (