1
0

0.4.27-33-g4b776d7.rename-no-json-test-to-avoid-duplicate-function-definitions.patch 664 B

1234567891011121314151617
  1. Subject: Rename no_json test to avoid duplicate function definitions
  2. Origin: upstream, commit 0.4.27-33-g4b776d7 <https://github.com/ahupp/python-magic/commit/0.4.27-33-g4b776d7>
  3. Author: Adam Hupp <adam@hupp.org>
  4. Date: Sun May 26 01:11:45 2024 -0700
  5. --- a/test/python_magic_test.py
  6. +++ b/test/python_magic_test.py
  7. @@ -202,7 +202,8 @@
  8. buf_equals_file=True,
  9. )
  10. - def test_descriptions_no_json(self):
  11. + def test_descriptions_no_json_unchanged(self):
  12. + # verify non-json results are unchanged
  13. m = magic.Magic(check_json=False)
  14. os.environ["TZ"] = "UTC" # To get last modified date of test.gz in UTC
  15. try: