diff options
| author | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2018-10-30 14:21:41 +0100 |
|---|---|---|
| committer | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2018-10-30 15:38:42 +0100 |
| commit | 785e37932e71a02ab8c31257694060f550ff72a6 (patch) | |
| tree | 43bc2158ce60168cebe15a0f88ea2aeddb30520d /test/test_issue190.py | |
| parent | fac8b840627013e1b9bbe76bd75c8e9d5d7b4cdf (diff) | |
| download | rdflib-785e37932e71a02ab8c31257694060f550ff72a6.tar.gz | |
a slightly opinionated autopep8 run
opinions is mainly: no to long lines, but not at any cost.
notation3.py crashses autopep :D
Also rdflib/__init__.py gets completely broken
Diffstat (limited to 'test/test_issue190.py')
| -rw-r--r-- | test/test_issue190.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_issue190.py b/test/test_issue190.py index 3825f884..e5173eff 100644 --- a/test/test_issue190.py +++ b/test/test_issue190.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from nose import SkipTest from rdflib.graph import ConjunctiveGraph from rdflib.parser import StringInputSource import textwrap @@ -34,6 +35,7 @@ a nfo:PaginatedTextDocument ; test_string1 = u"""\ Betriebsnummer der Einzugsstelle:\nKnappschaft\n980 0000 6\nWICHTIGES DOKUMENT - SORGFÄLTIG AUFBEWAHREN!\n """ + def test1(): meta1 = meta.encode('utf-8') % test_string1.encode('utf-8') graph = ConjunctiveGraph() @@ -46,10 +48,10 @@ Knappschaft WICHTIGES DOKUMENT - SORGFÄLTIG AUFBEWAHREN! """ + def test2(): meta2 = meta.encode('utf-8') % test_string2.encode('utf-8') graph = ConjunctiveGraph() graph.parse(StringInputSource(prefix + '<http://example.org/>' + meta2), format='n3') -from nose import SkipTest raise SkipTest("Known issue, with newlines in text") |
