summaryrefslogtreecommitdiff
path: root/Lib/test/test_unary.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-6/+1
| | | | | | | 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.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-9/+9
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-1/+1
|
* Patch by Christian Heimes to change self.assert_(x == y) intoGuido van Rossum2007-07-111-10/+10
| | | | | self.assertEqual(x, y). (Christian used self.failUnlessEqual(), but the double negative makes it hard to grok, so I changed it.)
* Remove have_unicode checks and merge those tests into theWalter Dörwald2007-05-221-1/+1
| | | | | normal code (or drop them if they only repeat previous tests).
* Fix test: u prefixes are gone now. Test 'a' and b'a' instead.Walter Dörwald2007-05-181-2/+1
|
* Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum2007-01-151-6/+6
| | | | (Rough first cut.)
* 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. :)
* tolerate --disable-unicode...Michael W. Hudson2002-05-201-2/+3
|
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+7
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Revert the previous patch to test_pow.py and move the test to test_unary.pyFred Drake2001-08-301-0/+8
| | | | | based on a suggestion from Tim Peters; also make sure that we're really doing exponentiation and not multiplication.
* Change test_overflow to test_no_overflow; looks like big int literalsTim Peters2001-08-271-4/+5
| | | | | are auto-coerced to longs now, but this test still expected OverflowError. I can't imagine this test failure was unique to Windows.
* Test the unary operator changes to the compilerJeremy Hylton2001-08-121-0/+43