Marcin Cieślak 1 anno fa
committed by GitHub
parent
commit
0e509bf691
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      tests/test_wikicode.py

+ 3
- 0
tests/test_wikicode.py Vedi File

@@ -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():


Caricamento…
Annulla
Salva