summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-03 12:27:08 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-03 12:27:08 +0200
commit59d3fba03d83a7982ac5edf10579bfdc40fafdd4 (patch)
tree9df012b49765b6e1f6714ce624ee0a5616685070 /test
parentadaa03cf0247b065e6b3863cf16ad88ee24f5169 (diff)
blacken more code
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_timingharness.py28
1 files changed, 7 insertions, 21 deletions
diff --git a/test/test_timingharness.py b/test/test_timingharness.py
index 13289ea..61cdf4b 100755
--- a/test/test_timingharness.py
+++ b/test/test_timingharness.py
@@ -35,14 +35,10 @@ class TestModels(unittest.TestCase):
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[0],
- 1163,
- places=0,
+ param_info("write", "duration")["function"].model_args[0], 1163, places=0,
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[1],
- 464,
- places=0,
+ param_info("write", "duration")["function"].model_args[1], 464, places=0,
)
self.assertAlmostEqual(
param_info("write", "duration")["function"].model_args[2], 1, places=0
@@ -85,14 +81,10 @@ class TestModels(unittest.TestCase):
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[0],
- 1163,
- places=0,
+ param_info("write", "duration")["function"].model_args[0], 1163, places=0,
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[1],
- 464,
- places=0,
+ param_info("write", "duration")["function"].model_args[1], 464, places=0,
)
self.assertAlmostEqual(
param_info("write", "duration")["function"].model_args[2], 1, places=0
@@ -144,14 +136,10 @@ class TestModels(unittest.TestCase):
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[0],
- 1162,
- places=0,
+ param_info("write", "duration")["function"].model_args[0], 1162, places=0,
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[1],
- 464,
- places=0,
+ param_info("write", "duration")["function"].model_args[1], 464, places=0,
)
self.assertAlmostEqual(
param_info("write", "duration")["function"].model_args[2], 1, places=0
@@ -160,9 +148,7 @@ class TestModels(unittest.TestCase):
param_info("write", "duration")["function"].model_args[3], 1, places=0
)
self.assertAlmostEqual(
- param_info("write", "duration")["function"].model_args[4],
- 1086,
- places=0,
+ param_info("write", "duration")["function"].model_args[4], 1086, places=0,
)