diff options
author | Jaime <jaime.frio@gmail.com> | 2016-02-18 23:02:01 +0100 |
---|---|---|
committer | Jaime <jaime.frio@gmail.com> | 2016-02-18 23:02:01 +0100 |
commit | 711b2a9ccfb54c09cdc483ee511035bda60f3f0b (patch) | |
tree | da47cd7e0eee4558bdde1d90cee8e6e1467a46b7 | |
parent | 4991e212422eeef6b5223ccdcf093a27db550e95 (diff) | |
parent | 3b358631e7bf2d43c664aa1f4b3f23db773b3df5 (diff) | |
download | numpy-711b2a9ccfb54c09cdc483ee511035bda60f3f0b.tar.gz |
Merge pull request #7280 from dongjoon-hyun/maint_remove_semicolon
MAINT: Remove redundant trailing semicolons.
-rw-r--r-- | doc/newdtype_example/setup.py | 2 | ||||
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/newdtype_example/setup.py b/doc/newdtype_example/setup.py index 2222f0de1..d7ab040a1 100644 --- a/doc/newdtype_example/setup.py +++ b/doc/newdtype_example/setup.py @@ -7,7 +7,7 @@ def configuration(parent_package = '', top_path=None): config = Configuration('floatint', parent_package, top_path) config.add_extension('floatint', - sources = ['floatint.c']); + sources = ['floatint.c']) return config setup(configuration=configuration) diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index d57e7c106..3bbfed569 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -3587,7 +3587,7 @@ class TestIO(object): # but for now test for proper errors b = io.BytesIO() assert_raises(IOError, np.fromfile, b, np.uint8, 80) - d = np.ones(7); + d = np.ones(7) assert_raises(IOError, lambda x: x.tofile(b), d) def test_bool_fromstring(self): @@ -3676,7 +3676,7 @@ class TestIO(object): d = np.zeros(4 * 1024 ** 2) d.tofile(self.filename) assert_equal(os.path.getsize(self.filename), d.nbytes) - assert_array_equal(d, np.fromfile(self.filename)); + assert_array_equal(d, np.fromfile(self.filename)) # check offset with open(self.filename, "r+b") as f: f.seek(d.nbytes) |