Miss Islington (bot)
ec5569b08e
bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints (GH-4745)
...
(cherry picked from commit eee72d4778
)
Co-authored-by: Tobotimus <Tobotimus@users.noreply.github.com>
2018-02-26 15:59:55 -08:00
Miss Islington (bot)
bb78898224
bpo-31174: Improve the code of test_tools.test_unparse. (GH-4146) ( #4148 )
...
(cherry picked from commit 7351f9e5a9
)
2017-10-27 16:17:36 +03:00
Miss Islington (bot)
d8f78a1fbc
bpo-31174: Fix test_tools.test_unparse (GH-4102) ( #4104 )
...
test_unparse.DirectoryTestCase now stores the names sample to always
test the same files. It prevents false alarms when hunting reference
leaks.
(cherry picked from commit 8e482bea21
)
2017-10-24 04:18:00 -07:00
Mariatta
430020500c
[3.6] bpo-30109: Fix reindent.py (GH-1207) (GH-1208)
...
Skip the file if it has bad encoding.
(cherry picked from commit 58f3c9dc8f
)
2017-04-20 07:12:37 -07:00
Benjamin Peterson
4ce9e7a14a
merge 3.5
2016-09-12 22:09:39 -07:00
Berker Peksag
ac2d1c7153
Issue #27952 : Capture stderr in run_script()
2016-09-13 07:55:54 +03:00
Martin Panter
bdb847ae99
Issue #27952 : Merge fixcid.py from 3.5
2016-09-11 10:06:38 +00:00
Martin Panter
b7665386bc
Issue #27952 : Get fixcid.py working with the re module
2016-09-11 09:32:26 +00:00
Eric V. Smith
451d0e38fc
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
2016-09-09 21:56:20 -04:00
Yury Selivanov
d04e417b1e
tests: use subTest in test_unparse.test_files
2016-09-09 11:14:59 -07:00
Guido van Rossum
deed5a18ca
Issue #28038 : Remove Tools/parser/com2ann.py and its unit test.
...
Development is moving to https://github.com/ilevkivskyi/com2ann
2016-09-09 09:06:11 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Benjamin Peterson
ff79396c83
fix skipping #27921 for windows
2016-09-05 11:13:07 -07:00
Eric V. Smith
06cf601e4f
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped.
2016-09-03 12:33:38 -04:00
Eric V. Smith
6a4efce7a5
Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.
2016-09-03 09:18:34 -04:00
Zachary Ware
613debcf0a
Merge with 3.5
2016-08-30 10:03:32 -05:00
Zachary Ware
5cf1c6cb62
Skip test_tools.test_i18n when pygettext.py is missing
2016-08-30 10:00:26 -05:00
Serhiy Storchaka
a6f26c1d34
Remove more unused imports in tests.
2016-04-25 00:05:30 +03:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Serhiy Storchaka
597d15afe4
Issue #23277 : Remove unused support.run_unittest import.
2016-04-24 13:45:58 +03:00
Berker Peksag
1e8ee9b380
Issue #23277 : Remove unused sys and os imports
...
Patch by Jon Dufresne.
2016-04-24 07:31:42 +03:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Berker Peksag
d07a1cb53b
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:44 +02:00
Berker Peksag
d66dd5ce68
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:15 +02:00
Eric V. Smith
608adf9c82
Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.
2015-09-20 15:09:15 -04:00
Eric V. Smith
edef3ebafa
Temporary hack for issue #25180 : exclude test_fstring.py from the unparse round-tripping, while I figure out how to properly fix it.
2015-09-19 15:49:57 -04:00
Berker Peksag
076dbd0560
Fix remaining tests and remove an unused import.
2015-05-06 07:01:52 +03:00
Berker Peksag
ce643913a9
Issue #9517 : Move script_helper to the support package.
...
Patch by Christie Wilson.
2015-05-06 06:33:17 +03:00
R David Murray
2b78129b3a
#18128 : use standard +NNNN timezone format in POT-Creation-Date header.
...
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Zachary Ware
f012ba42fe
Issue #22002 : Make full use of test discovery in test sub-packages.
...
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
2014-07-23 12:00:29 -05:00
Zachary Ware
2b0a610297
Issue #21918 : Convert test_tools.py to a sub-package of test.
2014-07-16 14:26:09 -05:00