Skip to content

Commit

Permalink
MAINT: Remove redundant trailing semicolons.
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Feb 18, 2016
1 parent ec5bd81 commit 3b35863
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/newdtype_example/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions numpy/core/tests/test_multiarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -3587,7 +3587,7 @@ def test_nofile(self):
# 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):
Expand Down Expand Up @@ -3676,7 +3676,7 @@ def test_largish_file(self):
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)
Expand Down

0 comments on commit 3b35863

Please sign in to comment.