fix deprecation in bitcoin-util-test.py #13953

pull isghe wants to merge 1 commits into bitcoin:master from isghe:fix-deprecation-in-bitcoin-util-test changing 1 files +1 −1
  1. isghe commented at 1:07 PM on August 13, 2018: contributor

    To avoid:

    $ make check {…omissis…} Running test/util/bitcoin-util-test.py... /usr/local/bin/python3.7 ../test/util/bitcoin-util-test.py ../test/util/bitcoin-util-test.py:31: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. config.readfp(open(os.path.join(os.path.dirname(file), "../config.ini"), encoding="utf8"))

    $ python3 --version Python 3.7.0

  2. fix deprecation in bitcoin-util-test.py
    To avoid:
    
    $ make check
    {…omissis…}
    Running test/util/bitcoin-util-test.py...
    /usr/local/bin/python3.7 ../test/util/bitcoin-util-test.py
    ../test/util/bitcoin-util-test.py:31: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
    config.readfp(open(os.path.join(os.path.dirname(__file__), "../config.ini"), encoding="utf8"))
    
    $ python3 --version
    Python 3.7.0
    49e56625aa
  3. fanquake added the label Tests on Aug 13, 2018
  4. MarcoFalke added this to the milestone 0.18.0 on Aug 13, 2018
  5. fanquake commented at 1:12 PM on August 13, 2018: member

    read_file() has been available since 3.2, so this doesn't increase the minimum Python requirement.

  6. domob1812 commented at 1:32 PM on August 13, 2018: contributor

    utACK 49e56625aa2e102472f782e7421a332b4f438f54

  7. MarcoFalke referenced this in commit 6edda062dc on Aug 13, 2018
  8. MarcoFalke merged this on Aug 13, 2018
  9. MarcoFalke closed this on Aug 13, 2018

  10. isghe deleted the branch on Aug 13, 2018
  11. PastaPastaPasta referenced this in commit 9c6021a589 on May 26, 2021
  12. PastaPastaPasta referenced this in commit 43f62bed08 on Jun 27, 2021
  13. PastaPastaPasta referenced this in commit 934e4a3a0b on Jun 28, 2021
  14. PastaPastaPasta referenced this in commit c1acf3e670 on Jun 29, 2021
  15. PastaPastaPasta referenced this in commit d066bb0b39 on Jun 29, 2021
  16. PastaPastaPasta referenced this in commit a5440633b6 on Jun 29, 2021
  17. PastaPastaPasta referenced this in commit 76512bc293 on Jun 29, 2021
  18. PastaPastaPasta referenced this in commit 326592470a on Jun 29, 2021
  19. MarcoFalke locked this on Sep 8, 2021
Labels

Milestone
0.18.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me