aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_pyclbr.py
Commit message (Collapse)AuthorAge
* gh-71339: Use new assertion methods in tests (GH-129046)Serhiy Storchaka2025-05-22
|
* gh-131591: Allow pdb to attach to a running process (#132451)Matt Wozniski2025-04-25
| | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* gh-131290: ensure that test files can be executed as standalone scripts ↵Maksim2025-04-12
| | | | | | | (#131371) --------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Provide curframe_locals for backward compatibility but deprecate it (#125951)Tian Gao2025-02-08
|
* gh-71339: Add additional assertion methods for unittest (GH-128707)Serhiy Storchaka2025-01-14
| | | | | | | | | | | | Add the following methods: * assertHasAttr() and assertNotHasAttr() * assertIsSubclass() and assertNotIsSubclass() * assertStartsWith() and assertNotStartsWith() * assertEndsWith() and assertNotEndsWith() Also improve error messages for assertIsInstance() and assertNotIsInstance().
* gh-120449: fix ``test_pyclbr`` introspection for mangled names (GH-120450)Bénédikt Tran2024-06-18
|
* gh-119180: PEP 649 compiler changes (#119361)Jelle Zijlstra2024-06-11
|
* gh-118500: Add pdb support for zipapp (#118501)Tian Gao2024-05-02
|
* gh-104773: PEP 594: Remove cgi and cgitb modules (#104775)Victor Stinner2023-05-24
| | | | | * Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* gh-95913: make the new internal classes pdb.ModuleTarget/ScriptTarget ↵Irit Katriel2022-08-18
| | | | private (GH-96053)
* GH-93481: Suppress expected deprecation warning in test_pyclbr (GH-93483)Irit Katriel2022-06-07
|
* Deprecate audioop (GH-32392)Brett Cannon2022-04-07
|
* bpo-47061: deprecate the `aifc` module (GH-32134)Brett Cannon2022-04-05
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-47152: Convert the re module into a package (GH-32177)Serhiy Storchaka2022-04-02
| | | The sre_* modules are now deprecated.
* bpo-44554: refactor pdb targets (and internal tweaks) (GH-26992)Jason R. Coombs2021-07-18
| | | | | | | | - Refactor module/script handling to share an interface (check method). - Import functools and adjust tests for the new line number for find_function. - Use cached_property for details. - Add blurb. Automerge-Triggered-By: GH:jaraco
* bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348)Aviral Srivastava2021-02-01
| | | | | | | | For back-compatibility, make the new constructor parameter for public classes Function and Class keyword-only with a default of None. Co-authored-by: Aviral Srivastava <aviralsrivastava@Avirals-MacBook-Air.local Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39411: pyclbr rewrite on AST (#18103)Batuhan Taskaya2020-11-11
| | | | | - Rewrite pyclbr using an AST processor - Add is_async to the pyclbr.Function
* bpo-38866: Remove asyncore from test_pyclbr.py (GH-17316)jacksonriley2019-11-22
| | | Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Remove unused imports in tests (GH-14518)Victor Stinner2019-07-01
|
* bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)Victor Stinner2019-06-18
| | | | | aifc.openfp() alias to aifc.open(), sunau.openfp() alias to sunau.open(), and wave.openfp() alias to wave.open() have been removed. They were deprecated since Python 3.7.
* bpo-36785: PEP 574 implementation (GH-7076)Antoine Pitrou2019-05-26
|
* bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found ↵Brett Cannon2019-03-22
| | | | | | | | (GH-12358) Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module. https://bugs.python.org/issue36298
* bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445)Serhiy Storchaka2018-09-27
|
* bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344)Brian Curtin2017-11-10
| | | | | | | | | | The openfp functions of aifp, sunau, and wave had pointed to the open function of each module since 1993 as a matter of backwards compatibility. In the case of aifc.openfp, it was both undocumented and untested. This change begins the formal deprecation of those openfp functions, with their removal coming in 3.9. This additionally adds a TODO in test_pyclbr around using aifc.openfp, though it shouldn't be changed until removal in 3.9.
* bpo-6691: Pyclbr now reports nested classes and functions. (#2503)csabella2017-07-03
| | | Original patch by Guilherme Polo. Revisions by Cheryl Sabella.
* bpo-29776: Use decorator syntax for properties. (#585)Serhiy Storchaka2017-03-19
|
* Issue #22493: Inline flags now should be used only at the start of theSerhiy Storchaka2016-09-11
| | | | | regular expression. Deprecation warning is emitted if uses them in the middle of the regular expression.
* Closes #25795: Merge with 3.5Zachary Ware2015-12-04
|\
| * Issue #25795: Fix several tests to run independently.Zachary Ware2015-12-04
| | | | | | | | | | | | | | These were broken in 3aec776fc796 when they were converted away from using support.run_unittest(). Oops :) Initial patch by Felippe da Motta Raposo.
* | Issue #24164: Fix test_pyclbrVictor Stinner2015-10-12
|/ | | | Ignore pickle.partial symbol which comes from functools.partial.
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-13
| | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* Silence the failure of test_pyclbr after adding a property in sre_parseSerhiy Storchaka2014-11-07
| | | | (issue #814253).
* Fix tests for #11798Andrew Svetlov2013-08-29
|
* #17818: aifc.getparams now returns a namedtuple.R David Murray2013-07-25
| | | | Patch by Claudiu Popa.
* #14798: pyclbr now raises ImportError instead of KeyError for missing packagesPetri Lehtinen2012-05-18
|
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-20
|
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* use assert[Not]In where appropriateEzio Melotti2010-01-23
|
* use assert[Not]In where appropriateBenjamin Peterson2010-01-19
| | | | A patch from Dave Malcolm.
* Merged revisions 74095 via svnmerge fromBenjamin Peterson2009-07-19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74095 | benjamin.peterson | 2009-07-19 15:18:21 -0500 (Sun, 19 Jul 2009) | 1 line split unittest.py into a package ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-30
|
* Make a new urllib package .Jeremy Hylton2008-06-18
| | | | | | | | | | | | | It consists of code from urllib, urllib2, urlparse, and robotparser. The old modules have all been removed. The new package has five submodules: urllib.parse, urllib.request, urllib.response, urllib.error, and urllib.robotparser. The urllib.request.urlopen() function uses the url opener from urllib2. Note that the unittests have not been renamed for the beta, but they will be renamed in the future. Joint work with Senthil Kumaran.
* Remove traces of rfc822.Georg Brandl2008-06-12
|
* remove the rfc822 moduleBenjamin Peterson2008-06-12
|
* fix test_pyclbr which failed because the new StringIO presented bases it ↵Benjamin Peterson2008-06-12
| | | | couldn't find
* Create http package. #2883.Georg Brandl2008-05-26
|
* Merged revisions ↵Georg Brandl2008-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63412,63445-63447,63449-63450,63452,63454,63459,63463,63465,63470,63483-63484,63496-63497,63499-63501,63530-63531,63540,63614 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63412 | georg.brandl | 2008-05-17 19:57:01 +0200 (Sat, 17 May 2008) | 2 lines #961805: fix Edit.text_modified(). ........ r63445 | georg.brandl | 2008-05-18 10:52:59 +0200 (Sun, 18 May 2008) | 2 lines GHOP #180 by Michael Schneider: add examples to the socketserver documentation. ........ r63446 | georg.brandl | 2008-05-18 11:12:20 +0200 (Sun, 18 May 2008) | 2 lines GHOP #134, #171, #137: unit tests for the three HTTPServer modules. ........ r63447 | georg.brandl | 2008-05-18 12:39:26 +0200 (Sun, 18 May 2008) | 3 lines Take namedtuple item names only from ascii_letters (this blew up on OSX), and make sure there are no duplicate names. ........ r63449 | georg.brandl | 2008-05-18 13:46:51 +0200 (Sun, 18 May 2008) | 2 lines GHOP #217: add support for compiling Python with coverage checking enabled. ........ r63450 | georg.brandl | 2008-05-18 13:52:36 +0200 (Sun, 18 May 2008) | 2 lines GHOP #257: test distutils' build_ext command, written by Josip Dzolonga. ........ r63452 | georg.brandl | 2008-05-18 15:34:06 +0200 (Sun, 18 May 2008) | 2 lines Add GHOP students. ........ r63454 | georg.brandl | 2008-05-18 18:32:48 +0200 (Sun, 18 May 2008) | 2 lines GHOP #121: improve test_pydoc, by Benjamin Peterson. ........ r63459 | benjamin.peterson | 2008-05-18 22:48:07 +0200 (Sun, 18 May 2008) | 2 lines bring test_pydoc up to my high standards (now that I have them) ........ r63463 | georg.brandl | 2008-05-18 23:10:19 +0200 (Sun, 18 May 2008) | 2 lines Fix test_pyclbr after another platform-dependent function was added to urllib. ........ r63465 | benjamin.peterson | 2008-05-19 01:07:07 +0200 (Mon, 19 May 2008) | 2 lines change some imports in tests so they will not be skipped in 3.0 ........ r63470 | georg.brandl | 2008-05-19 18:47:25 +0200 (Mon, 19 May 2008) | 2 lines test_httpservers has unpredictable refcount behavior. ........ r63483 | georg.brandl | 2008-05-20 08:15:36 +0200 (Tue, 20 May 2008) | 2 lines Activate two more test cases in test_httpservers. ........ r63484 | georg.brandl | 2008-05-20 08:47:31 +0200 (Tue, 20 May 2008) | 2 lines Argh, this is the *actual* test that works under Windows. ........ r63496 | georg.brandl | 2008-05-20 10:07:36 +0200 (Tue, 20 May 2008) | 2 lines Improve diffing logic and output for test_pydoc. ........ r63497 | georg.brandl | 2008-05-20 10:10:03 +0200 (Tue, 20 May 2008) | 2 lines Use inspect.getabsfile() to get the documented module's filename. ........ r63499 | georg.brandl | 2008-05-20 10:25:48 +0200 (Tue, 20 May 2008) | 3 lines Patch #1775025: allow opening zipfile members via ZipInfo instances. Patch by Graham Horler. ........ r63500 | georg.brandl | 2008-05-20 10:40:43 +0200 (Tue, 20 May 2008) | 2 lines #2592: delegate nb_index and the floor/truediv slots in weakref.proxy. ........ r63501 | georg.brandl | 2008-05-20 10:48:34 +0200 (Tue, 20 May 2008) | 2 lines #615772: raise a more explicit error from Tkinter.Misc.__contains__. ........ r63530 | benjamin.peterson | 2008-05-22 02:57:02 +0200 (Thu, 22 May 2008) | 2 lines use more specific asserts in test_opcode ........ r63531 | benjamin.peterson | 2008-05-22 03:02:23 +0200 (Thu, 22 May 2008) | 2 lines remove redundant invocation of json doctests ........ r63540 | benjamin.peterson | 2008-05-23 01:09:26 +0200 (Fri, 23 May 2008) | 3 lines fix test_pydoc so it works on make installed Python installations Also let it pass when invoked directly ........ r63614 | georg.brandl | 2008-05-25 10:07:37 +0200 (Sun, 25 May 2008) | 2 lines #2959: allow multiple close() calls for GzipFile. ........
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-20
|
* Merged revisions ↵Alexandre Vassalotti2008-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63119 | benjamin.peterson | 2008-05-11 20:41:23 -0400 (Sun, 11 May 2008) | 2 lines #2196 hasattr now allows SystemExit and KeyboardInterrupt to propagate ........ r63122 | benjamin.peterson | 2008-05-11 20:46:49 -0400 (Sun, 11 May 2008) | 2 lines make message slightly more informative, so there's no chance of misunderstanding it ........ r63158 | ronald.oussoren | 2008-05-12 07:24:33 -0400 (Mon, 12 May 2008) | 5 lines Remove references to platform 'mac' The 'mac' platform (that is, os.name == 'mac') was used for the MacOS 9 port, which is no longer supported (as of Python 2.4 IIRC). ........ r63159 | ronald.oussoren | 2008-05-12 07:31:05 -0400 (Mon, 12 May 2008) | 8 lines MacOSX: remove dependency on Carbon package for urllib This patch removes the dependency on the Carbon package from urllib. The mac-specific code for getting proxy configuration is now writting in Python using ctypes and uses the SystemConfiguration framework instead of InternetConfig. Also provides a mac-specific implementation of proxy_bypass. ........ r63162 | eric.smith | 2008-05-12 10:00:01 -0400 (Mon, 12 May 2008) | 1 line Added 'n' presentation type for integers. ........ r63164 | georg.brandl | 2008-05-12 12:26:52 -0400 (Mon, 12 May 2008) | 2 lines #1713041: fix pprint's handling of maximum depth. ........ r63170 | georg.brandl | 2008-05-12 12:53:42 -0400 (Mon, 12 May 2008) | 2 lines Fix parameter name for enumerate(). ........ r63173 | georg.brandl | 2008-05-12 13:01:58 -0400 (Mon, 12 May 2008) | 2 lines #2766: remove code without effect. ........ r63174 | georg.brandl | 2008-05-12 13:04:10 -0400 (Mon, 12 May 2008) | 3 lines #2767: don't clear globs in run() call, since they could be needed in tearDown, which clears them at the end. ........ r63175 | georg.brandl | 2008-05-12 13:14:51 -0400 (Mon, 12 May 2008) | 2 lines #1760: try-except-finally is one statement since PEP 341. ........ r63186 | amaury.forgeotdarc | 2008-05-12 17:30:24 -0400 (Mon, 12 May 2008) | 2 lines Sync code with documentation, and remove Win95 support in winsound module. ........ r63189 | amaury.forgeotdarc | 2008-05-12 18:21:39 -0400 (Mon, 12 May 2008) | 3 lines Adapt test_pyclbr to the new version of urllib.py: The new mac-specific functions must be ignored. ........
* Remove the mhlib module.Brett Cannon2008-05-11
|