diff options
| author | Jonathan Lange <jml@mumak.net> | 2015-11-02 20:50:40 +0000 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2015-11-09 13:27:52 +0000 |
| commit | 76064bdf8f2a8eb65c48be5263e8b2b8b8a1a969 (patch) | |
| tree | c631871685679787ee8389f1588c245ae712af29 /testtools | |
| parent | 4291b0a52ff6b08531e68d8e4dff5f8072dcad8c (diff) | |
| download | testtools-76064bdf8f2a8eb65c48be5263e8b2b8b8a1a969.tar.gz | |
Change PRecord to PClass
We don't want to accidentally iterate on TestRecord, say.
Diffstat (limited to 'testtools')
| -rw-r--r-- | testtools/testresult/real.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/testresult/real.py b/testtools/testresult/real.py index 86c6ae6..efc78f1 100644 --- a/testtools/testresult/real.py +++ b/testtools/testresult/real.py @@ -32,7 +32,7 @@ from extras import safe_hasattr, try_import, try_imports parse_mime_type = try_import('mimeparse.parse_mime_type') Queue = try_imports(['Queue.Queue', 'queue.Queue']) -from pyrsistent import PRecord, field, pmap_field, pset_field, pmap, pset, thaw +from pyrsistent import PClass, field, pmap_field, pset_field, pmap, pset, thaw from testtools.compat import str_is_unicode, _u, _b from testtools.content import ( @@ -634,7 +634,7 @@ class StreamTagger(CopyStreamResult): super(StreamTagger, self).status(*args, **kwargs) -class TestRecord(PRecord): +class TestRecord(PClass): """Representation of a test.""" """The test id.""" |
