[Scipy-svn] r6292 - trunk/scipy/constants/tests
scipy-svn at scipy.org
scipy-svn at scipy.org
Wed Mar 31 01:33:56 EDT 2010
Author: cdavid
Date: 2010-03-31 00:33:56 -0500 (Wed, 31 Mar 2010)
New Revision: 6292
Modified:
trunk/scipy/constants/tests/test_codata.py
Log:
STY: use unix EOL.
Modified: trunk/scipy/constants/tests/test_codata.py
===================================================================
--- trunk/scipy/constants/tests/test_codata.py 2010-03-31 04:55:13 UTC (rev 6291)
+++ trunk/scipy/constants/tests/test_codata.py 2010-03-31 05:33:56 UTC (rev 6292)
@@ -1,23 +1,23 @@
-
-from scipy.constants import find
-from numpy.testing import assert_equal
-
-def test_find():
-
- keys = find('weak mixing')
- assert_equal(keys, ['weak mixing angle'])
-
- keys = find('qwertyuiop')
- assert_equal(keys, [])
-
- keys = find('natural unit')
- assert_equal(keys, sorted(['natural unit of velocity',
- 'natural unit of action',
- 'natural unit of action in eV s',
- 'natural unit of mass',
- 'natural unit of energy',
- 'natural unit of energy in MeV',
- 'natural unit of momentum',
- 'natural unit of momentum in MeV/c',
- 'natural unit of length',
- 'natural unit of time']))
+
+from scipy.constants import find
+from numpy.testing import assert_equal
+
+def test_find():
+
+ keys = find('weak mixing')
+ assert_equal(keys, ['weak mixing angle'])
+
+ keys = find('qwertyuiop')
+ assert_equal(keys, [])
+
+ keys = find('natural unit')
+ assert_equal(keys, sorted(['natural unit of velocity',
+ 'natural unit of action',
+ 'natural unit of action in eV s',
+ 'natural unit of mass',
+ 'natural unit of energy',
+ 'natural unit of energy in MeV',
+ 'natural unit of momentum',
+ 'natural unit of momentum in MeV/c',
+ 'natural unit of length',
+ 'natural unit of time']))
More information about the Scipy-svn
mailing list