]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26901: Fix the Argument Clinic test suite (GH-8879) (GH-9048) 9054/head
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Sep 2018 22:24:17 +0000 (18:24 -0400)
committerVictor Stinner <vstinner@redhat.com>
Mon, 3 Sep 2018 22:24:17 +0000 (00:24 +0200)
commit1e921236d7ecc77299d34380d6a2159e9db05a1a
tree2c8753a1cc08a344f8f804550ea5b7c1885955e2
parent84b0129b5e0a0e22aad22ae8db2e3833a228aa57
bpo-26901: Fix the Argument Clinic test suite (GH-8879) (GH-9048)

* Fix Tools/clinic/clinic_test.py: add missing
  FakeClinic.destination_buffers attribute and pass a file argument
  to Clinic().
* Rename Tools/clinic/clinic_test.py to Lib/test/test_clinic.py:
  add temporary Tools/clinic/ to sys.path to import the clinic
  module.

Co-Authored-By: Pablo Galindo <pablogsal@gmail.com>
(cherry picked from commit 65fc98e7b1f62c2e621f04780a3a77c3498cc195)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_clinic.py [moved from Tools/clinic/clinic_test.py with 97% similarity]