소스 검색

AttributeError: 'SmartList' object has no attribute '_children'

pull/289/head
Marcin Cieślak 1 년 전
부모
커밋
0c3d5e861c
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():


불러오는 중...
취소
저장