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
Jeremy Hylton
dd32138e7d
limit prefix test for lambda
...
the compiler package generates a module-unique trailing suffix for
each lambda
2001-09-14 23:01:49 +00:00
Jack Jansen
a44361ea36
LongReprTest fails on the Mac because it uses filenames with more than
...
32 characters per component. This makes mkdir() calls and such fail with EINVAL.
For now I am disabling the test on the Mac, and I'll open a bugreport.
2001-09-05 20:08:07 +00:00
Guido van Rossum
cf856f9f28
Add a test for the final branch in repr.Repr.repr1(), which deals with
...
a default repr() that's longer than 20 characters.
2001-09-05 02:26:26 +00:00
Barry Warsaw
0bcf6d8d54
Added lots of tests for reprs of "simple" objects, such as file,
...
lambda (anonymous functions?), function, xrange, buffer, cell (need to
fill in), and (some) descriptor types.
Also added a new test case for testing repr truncation fixes.
2001-08-24 18:37:32 +00:00
Tim Peters
ab9ba27dc0
Whitespace normalization.
2001-08-09 21:40:30 +00:00
Fred Drake
8e6669ad05
Test for the repr module, contributed by Nick Mathewson.
...
This closes SF patch #440826 .
2001-07-19 22:27:56 +00:00