diff options
| author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2021-07-20 23:13:06 +1000 |
|---|---|---|
| committer | Nicholas Car <nicholas.car@surroundaustralia.com> | 2021-07-20 23:13:06 +1000 |
| commit | 17969dccdc6b182ef19c1a9e0b86a6585026aeab (patch) | |
| tree | e9d421e78624f0e9cd11f8217c2d92c129963012 /test/testutils.py | |
| parent | 7ebfd306543d8cc0a8b48700870e6fba3d7d256d (diff) | |
| download | rdflib-17969dccdc6b182ef19c1a9e0b86a6585026aeab.tar.gz | |
blacked everything6.0.0
Diffstat (limited to 'test/testutils.py')
| -rw-r--r-- | test/testutils.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/test/testutils.py b/test/testutils.py index 7211ff60..05ddf907 100644 --- a/test/testutils.py +++ b/test/testutils.py @@ -134,13 +134,20 @@ def nose_tst_earl_report(generator, earl_report_name=None): ) if earl_report_name: now = isodate.datetime_isoformat(datetime.datetime.utcnow()) - earl_report = os.path.join(TEST_DIR, "../test_reports/%s-%s.ttl" % ( - earl_report_name, - now.replace(":", ""), - )) + earl_report = os.path.join( + TEST_DIR, + "../test_reports/%s-%s.ttl" + % ( + earl_report_name, + now.replace(":", ""), + ), + ) report.serialize(earl_report, format="n3") - report.serialize(os.path.join(TEST_DIR, "../test_reports/%s-latest.ttl" % earl_report_name), format="n3") + report.serialize( + os.path.join(TEST_DIR, "../test_reports/%s-latest.ttl" % earl_report_name), + format="n3", + ) print("Wrote EARL-report to '%s'" % earl_report) |
