Skip to content

Commit d1be2c4

Browse files
committed
Format
1 parent 29fe135 commit d1be2c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openfermion/chem/pubchem_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ def _get_mock_pubchem_error(self):
170170
try:
171171
return pubchempy.PubChemHTTPError(503, 'Server Busy', ['busy'])
172172
except TypeError: # pragma: no cover
173+
173174
class FakeHTTPError(Exception):
174175
def __init__(self, code, msg):
175176
self.code = code
@@ -180,7 +181,6 @@ def read(self):
180181

181182
return pubchempy.PubChemHTTPError(FakeHTTPError(503, 'Server Busy'))
182183

183-
184184
@patch('time.sleep', return_value=None)
185185
@patch('pubchempy.get_compounds')
186186
def test_geometry_from_pubchem_retry_success(self, mock_get_compounds, mock_sleep):

0 commit comments

Comments
 (0)