浏览代码

Merge 0c3d5e861c into f963df7f82

undefined
Marcin Cieślak 1年前
committed by GitHub
父节点
当前提交
0e509bf691
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      tests/test_wikicode.py

+ 3
- 0
tests/test_wikicode.py 查看文件

@@ -23,6 +23,7 @@ Tests for the Wikicode class, which manages a list of nodes.
"""

from functools import partial
import pickle
import re
from types import GeneratorType

@@ -58,6 +59,8 @@ def test_nodes():
assert ["abc", "{{def}}"] == code.nodes
with pytest.raises(ValueError):
code.__setattr__("nodes", object)
P = pickle.dumps(code)
pickle.loads(P)


def test_get():


正在加载...
取消
保存