Skip to content

Commit b22880b

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nbviewer/tests/test_security.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# the file COPYING, distributed as part of this software.
77
# -----------------------------------------------------------------------------
88
import os
9+
from unittest.mock import patch
910

1011
import requests
1112

@@ -15,8 +16,6 @@
1516
from .base import NBViewerTestCase
1617
from .base import skip_unless_github_auth
1718

18-
from unittest.mock import patch
19-
2019

2120
class XSSTestCase(NBViewerTestCase):
2221
def _xss(self, path, pattern="<script>alert"):

0 commit comments

Comments
 (0)