Skip to content

Commit 2f5fdd5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c1df0d3 commit 2f5fdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_bdd/cucumber_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _get_result(self, step, report, error_message=False):
6161
result = {"status": "failed", "error_message": str(report.longrepr) if error_message else ""}
6262
elif report.skipped:
6363
result = {"status": "skipped"}
64-
result["duration"] = int(math.floor((10**9) * step["duration"])) # nanosec
64+
result["duration"] = int(math.floor((10 ** 9) * step["duration"])) # nanosec
6565
return result
6666

6767
def _serialize_tags(self, item):

0 commit comments

Comments
 (0)