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_nquads_w3c.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_nquads_w3c.py')
-rw-r--r-- | test/test_nquads_w3c.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_nquads_w3c.py b/test/test_nquads_w3c.py index 1c132e9b..f12850d2 100644 --- a/test/test_nquads_w3c.py +++ b/test/test_nquads_w3c.py @@ -8,6 +8,7 @@ from .testutils import nose_tst_earl_report verbose = False + def nquads(test): g = ConjunctiveGraph() @@ -19,16 +20,19 @@ def nquads(test): if test.syntax: raise + testers = { RDFT.TestNQuadsPositiveSyntax: nquads, RDFT.TestNQuadsNegativeSyntax: nquads } -def test_nquads(tests = None): + +def test_nquads(tests=None): for t in nose_tests(testers, 'test/w3c/nquads/manifest.ttl'): if tests: for test in tests: - if test in t[1].uri: break + if test in t[1].uri: + break else: continue |