Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Unified Diff: Lib/unittest/test/test_case.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/unittest/case.py ('k') | Lib/urllib/request.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/unittest/test/test_case.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/unittest/test/test_case.py Mon Jul 25 09:47:18 2011 -0400
@@ -4,7 +4,6 @@
import re
import sys
import warnings
-import weakref
import inspect
from copy import deepcopy
@@ -1305,11 +1304,3 @@
klass('test_something').run(result)
self.assertEqual(len(result.errors), 1)
self.assertEqual(result.testsRun, 1)
-
- @support.cpython_only
- def testNoCycles(self):
- case = unittest.TestCase()
- wr = weakref.ref(case)
- with support.disable_gc():
- del case
- self.assertFalse(wr())
« no previous file with comments | « Lib/unittest/case.py ('k') | Lib/urllib/request.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+