summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
commitf2715e076435b74638acb81512c2ee014f75aea2 (patch)
tree8f50b5bca2f1d4d7c232894d907996f4104c3515 /Lib/test/test_sys.py
parentf805cd2c1f4d850b1d933f39e63a61a3348ec224 (diff)
downloadcpython-f2715e076435b74638acb81512c2ee014f75aea2.zip
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.gz
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 606b8ce..b18b0c7 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -127,18 +127,18 @@ class SysModuleTest(unittest.TestCase):
# testing sys.setprofile() is done in test_profile.py
def test_setcheckinterval(self):
- self.assertRaises(TypeError, sys.setcheckinterval)
- sys.setcheckinterval(120)
- sys.setcheckinterval(100)
+ self.assertRaises(TypeError, sys.setcheckinterval)
+ sys.setcheckinterval(120)
+ sys.setcheckinterval(100)
def test_recursionlimit(self):
- self.assertRaises(TypeError, sys.getrecursionlimit, 42)
- oldlimit = sys.getrecursionlimit()
- self.assertRaises(TypeError, sys.setrecursionlimit)
- self.assertRaises(ValueError, sys.setrecursionlimit, -42)
- sys.setrecursionlimit(10000)
- self.assertEqual(sys.getrecursionlimit(), 10000)
- sys.setrecursionlimit(oldlimit)
+ self.assertRaises(TypeError, sys.getrecursionlimit, 42)
+ oldlimit = sys.getrecursionlimit()
+ self.assertRaises(TypeError, sys.setrecursionlimit)
+ self.assertRaises(ValueError, sys.setrecursionlimit, -42)
+ sys.setrecursionlimit(10000)
+ self.assertEqual(sys.getrecursionlimit(), 10000)
+ sys.setrecursionlimit(oldlimit)
def test_getwindowsversion(self):
if hasattr(sys, "getwindowsversion"):