diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-02-19 02:35:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-02-19 02:35:07 (GMT) |
commit | f2715e076435b74638acb81512c2ee014f75aea2 (patch) | |
tree | 8f50b5bca2f1d4d7c232894d907996f4104c3515 /Lib/test/test_macostools.py | |
parent | f805cd2c1f4d850b1d933f39e63a61a3348ec224 (diff) | |
download | cpython-f2715e076435b74638acb81512c2ee014f75aea2.zip cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.gz cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_macostools.py')
-rw-r--r-- | Lib/test/test_macostools.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py index f5abb6d..d9578bb 100644 --- a/Lib/test/test_macostools.py +++ b/Lib/test/test_macostools.py @@ -29,7 +29,7 @@ class TestMacostools(unittest.TestCase): os.unlink(TESTFN2) except: pass - + def compareData(self): fp = open(test_support.TESTFN, 'r') data1 = fp.read() @@ -48,11 +48,11 @@ class TestMacostools(unittest.TestCase): if data1 != data2: return 'Resource forks differ' return '' - + def test_touched(self): # This really only tests that nothing unforeseen happens. macostools.touched(test_support.TESTFN) - + def test_copy(self): try: os.unlink(TESTFN2) @@ -60,7 +60,7 @@ class TestMacostools(unittest.TestCase): pass macostools.copy(test_support.TESTFN, TESTFN2) self.assertEqual(self.compareData(), '') - + def test_mkalias(self): try: os.unlink(TESTFN2) @@ -69,7 +69,7 @@ class TestMacostools(unittest.TestCase): macostools.mkalias(test_support.TESTFN, TESTFN2) fss, _, _ = macfs.ResolveAliasFile(TESTFN2) self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN)) - + def test_mkalias_relative(self): try: os.unlink(TESTFN2) @@ -78,8 +78,8 @@ class TestMacostools(unittest.TestCase): macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix) fss, _, _ = macfs.ResolveAliasFile(TESTFN2) self.assertEqual(fss.as_pathname(), os.path.realpath(test_support.TESTFN)) - - + + def test_main(): test_support.run_unittest(TestMacostools) |