summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binhex.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.9] bpo-29566: binhex.binhex now consitently writes MacOS 9 line endings. ↵Miss Skeleton (bot)2020-11-011-0/+12
| | | | | | | | | | | (GH-23059) (GH-23071) [[bpo-29566]()]() notes that binhex.binhex uses inconsistent line endings (both Unix and MacOS9 line endings are used). This PR changes this to use the MacOS9 line endings everywhere. (cherry picked from commit 2165cea548f961b308050f30d1f042a377651d44) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Automerge-Triggered-By: GH:ronaldoussoren
* [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii ↵Serhiy Storchaka2020-06-251-3/+4
| | | | | | characters. (GH-21035). (GH-21156) (cherry picked from commit 700cfa8c90a90016638bac13c4efd03786b2b2a0)
* bpo-40927: Fix test_binhex when run twice (GH-20764) (GH-20789)Victor Stinner2020-06-101-1/+1
| | | | | | test_binhex now uses import_fresh_module() to ensure that it raises DeprecationWarning each time. (cherry picked from commit 9c24e2e4c10705d95258558348417a28007dac66)
* bpo-39353: Deprecate the binhex module (GH-18025)Victor Stinner2020-01-221-1/+3
| | | | | | | | Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module and the following binascii functions: * b2a_hqx(), a2b_hqx() * rlecode_hqx(), rledecode_hqx() * crc_hqx()
* bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929)Serhiy Storchaka2019-03-051-6/+4
|
* Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-1/+0
| | | | Patch by Jon Dufresne.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-1/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Close #11577: Improve binhex test coverage and fix ResourceWarningNick Coghlan2011-03-171-0/+11
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-6/+6
|
* Make test_binhex pass. (Do we really want to support it still?)Guido van Rossum2007-05-221-8/+5
|
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-3/+2
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Convert binhex regression test to PyUnit. We could use a better testFred Drake2001-05-221-40/+38
| | | | for this.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Stop creating an unbounded number of "Jack is my hero" files under Windows.Tim Peters2001-01-171-0/+1
| | | | | Not that Jack doesn't deserve them, but saying it so often cheapens the sentiment.
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
|
* Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters2000-08-041-2/+2
| | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
* This test really only tests the binhex module.Guido van Rossum1999-10-191-2/+2
| | | | Renamed it and adapted a comment and an error message.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-12/+12
|
* Minor output message changeRoger E. Masse1997-01-161-1/+7
|
* test script for the binascii C module.Roger E. Masse1997-01-161-0/+40