浏览代码

Fix flake8

Jelmer Vernooij 3 年之前
父节点
当前提交
4756814d6c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      dulwich/tests/test_ignore.py

+ 1 - 3
dulwich/tests/test_ignore.py

@@ -82,9 +82,7 @@ TRANSLATE_TESTS = [
     (b"**/bla.c", b"(?ms)(.*/)?bla\\.c/?\\Z"),
     (b"foo/**/bar", b"(?ms)foo(/.*)?\\/bar/?\\Z"),
     (b"foo/bar/*", b"(?ms)foo\\/bar\\/[^/]+/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
+    (b"/foo\\[bar\\]", b"(?ms)foo\\[bar\\]/?\\Z"),
     (b"/foo[bar]", b"(?ms)foo[bar]/?\\Z"),
     (b"/foo[0-9]", b"(?ms)foo[0-9]/?\\Z"),
 ]