summaryrefslogtreecommitdiff
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-29 13:04:35 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-29 13:04:35 +0200
commite2185d714bf541ab37e7ddec5fb2f452fdeb26be (patch)
tree166f4d9b7ce30d03520e216d7014d586ac578b6d /Lib/test/test_os.py
parent9e8b82f1e1b726bd956568dec3769f771644a8ed (diff)
parenta7c33e5168a6dbc1f97bf3287cfd86bebf80f4ed (diff)
downloadcpython-git-e2185d714bf541ab37e7ddec5fb2f452fdeb26be.tar.gz
(merge 3.2) Issue #12400: regrtest -W doesn't rerun the tests twice anymore,
but captures the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 13dc337e3e..e075a6b3fc 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -40,6 +40,7 @@ class FileTests(unittest.TestCase):
tearDown = setUp
def test_access(self):
+ self.assertEqual(1,2)
f = os.open(support.TESTFN, os.O_CREAT|os.O_RDWR)
os.close(f)
self.assertTrue(os.access(support.TESTFN, os.W_OK))