Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +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
Robert Collins
00cf3c394a
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:32:15 +12:00
Robert Collins
d84b29f805
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:22:54 +12:00
Zachary Ware
38c707e7e0
Issue #21741 : Update 147 test modules to use test discovery.
...
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.
2015-04-13 15:00:43 -05:00
Serhiy Storchaka
f4b7a02e93
Issue #21408 : The default __ne__() now returns NotImplemented if __eq__()
...
returned NotImplemented. Removed incorrect implementations of __ne__().
2015-01-26 09:57:07 +02:00
Florent Xicluna
02ea12b291
Syntax cleanup.
2010-07-28 16:39:41 +00:00
Mark Dickinson
5c2db37c20
Issue #7435 : Remove duplicate int/long tests, and other
...
references to long in py3k. Patch provided by flox.
2009-12-05 20:28:34 +00:00
Mark Dickinson
6f1d04945b
Issue #6970 : Remove redundant calls made when comparing objects.
2009-11-15 13:58:49 +00:00
Benjamin Peterson
c9c0f201fe
convert old fail* assertions to assert*
2009-06-30 23:06:06 +00:00
Mark Dickinson
cce2f217d4
Issue 4910, patch 2 of (probably) 3: pave the way for renaming of
...
nb_long: remove last remaining use of nb_long
(in the struct module) from the core, set nb_long slots on all builtin
and extension types to 0, and remove uses of __long__ in test_complex
and test_binop.
Reviewed by Benjamin Peterson.
2009-01-15 19:32:23 +00:00
Benjamin Peterson
42806bad9b
division is no longer a future thing for test_binop
2008-06-28 23:34:00 +00:00
Benjamin Peterson
ee8712cda4
#2621 rename test.test_support to test.support
2008-05-20 21:35:26 +00:00
Collin Winter
3add4d78ff
Raise statement normalization in Lib/test/.
2007-08-29 23:37:32 +00:00
Guido van Rossum
e2a383d062
Rip out 'long' and 'L'-suffixed integer literals.
...
(Rough first cut.)
2007-01-15 16:59:06 +00:00
Georg Brandl
7cae87ca7b
Patch #1550800 : make exec a function.
2006-09-06 06:51:57 +00:00
Neal Norwitz
bcc0db82dc
Get rid of remnants of integer division
2006-03-24 08:14:36 +00:00
Brett Cannon
53e9a8b9f3
Fix error in a docstring where a single quote started the docstring but triple
...
quote ended it.
Closes bug #1192777 . Thanks Christopher Smith.
2005-04-30 05:50:19 +00:00
Barry Warsaw
04f357cffe
Get rid of relative imports in all unittests. Now anything that
...
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. :)
2002-07-23 19:04:11 +00:00
Fred Drake
2e2be3760c
Change the PyUnit-based tests to use the test_main() approach. This
...
allows using the tests with unittest.py as a script. The tests will
still run when run as a script themselves.
2001-09-20 21:33:42 +00:00
Guido van Rossum
8bce4acb17
Rename 'getset' to 'property'.
2001-09-06 21:56:42 +00:00
Guido van Rossum
54e54c6877
The first batch of changes recommended by the fixdiv tool. These are
...
mostly changes of / operators into //. Once or twice I did more or
less than recommended.
2001-09-04 19:14:14 +00:00
Guido van Rossum
70d4491540
Remove the local 'getset' class -- this is now a built-in type with
...
the same signature.
2001-08-24 18:52:50 +00:00
Tim Peters
9fa96bed6f
Fix for bug [ #452230 ] future division isn't propagated.
...
builtin_eval wasn't merging in the compiler flags from the current frame;
I suppose we never noticed this before because future division is the
first future-feature that can affect expressions (nested_scopes and
generators had only statement-level effects).
2001-08-17 23:04:59 +00:00
Guido van Rossum
64deef2b17
A test suite for binary operators, disguised as a rational number
...
class.
2001-08-08 22:27:20 +00:00