[tests] Remove unused imports (script.OP_0 and script.sha256) #11190

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:remove-unused-import-op_0 changing 1 files +1 −1
  1. practicalswift commented at 11:14 AM on August 29, 2017: contributor

    Remove unused imports (script.OP_0 and script.sha256).

  2. practicalswift renamed this:
    [tests] Remove unused imports (script.OP_0 and script.sha256)
    [tests] Remove unused imports (script.OP_0 and script.sha256). Fix typo.
    on Aug 29, 2017
  3. [tests] Remove unused imports (script.{OP_0,sha256}) c7e0abe190
  4. practicalswift force-pushed on Aug 29, 2017
  5. meshcollider commented at 11:35 AM on August 29, 2017: contributor

    The typo fix is wrong unfortunately, should be 'a' (because 'one' effectively starts with a 'w')

  6. fanquake added the label Tests on Aug 29, 2017
  7. fanquake commented at 12:29 PM on August 29, 2017: member

    Agree with @MeshCollider that the typo fix isn't correct.

  8. practicalswift force-pushed on Aug 29, 2017
  9. practicalswift renamed this:
    [tests] Remove unused imports (script.OP_0 and script.sha256). Fix typo.
    [tests] Remove unused imports (script.OP_0 and script.sha256)
    on Aug 29, 2017
  10. practicalswift commented at 1:20 PM on August 29, 2017: contributor

    @MeshCollider @fanquake Thanks for reviewing! Typo fix removed :-) What about the remaining import fix? ACK? :-)

  11. meshcollider commented at 8:35 PM on August 30, 2017: contributor

    Yeah Concept ACK for removing the unused import

  12. jnewbery commented at 3:52 PM on September 1, 2017: member

    There are many instances in the test/functional/test_framework directory of unused imports, wildcard imports, names being imported indirectly through wildcard imports, imports on the same line, imports not in PEP8 ordering, imports not being sorted, etc.

    I'd rather have a single PR that fixes all of those nits, rather than tackle it file-by-file.

    That said, utACK c7e0abe1904bac179771985c5223a323a17f97f5 if people disagree with my preferred approach.

  13. MarcoFalke commented at 4:28 PM on September 1, 2017: member

    Agree with @jnewbery if a fix is reasonable to do for the whole project in a single commit, that should be preferred. However, if that is not feasible for whatever reason or not worth it, nothing should be touched. (Unless you need to change the line anyway.)

  14. practicalswift closed this on Sep 1, 2017

  15. practicalswift deleted the branch on Apr 10, 2021
  16. DrahtBot locked this on Aug 18, 2022

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-04-16 15:15 UTC

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