diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-11 12:09:31 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-02 11:18:47 +0200 |
| commit | 628c3eefd6bed9f5b8195b08566713dc6ba0420c (patch) | |
| tree | 97136ae60c6354e971907772e2e5a9bcf41a3559 | |
| parent | 5f0597c73736f19a745e3f48782f443e14f8b7b4 (diff) | |
| download | allocbench-628c3eefd6bed9f5b8195b08566713dc6ba0420c.tar.gz allocbench-628c3eefd6bed9f5b8195b08566713dc6ba0420c.zip | |
bench.py: fix benchmark check
| -rwxr-xr-x | bench.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ def main(): # find Benchmark class for member in bench_module.__dict__.values(): - if (isinstance(member, type) + if (not isinstance(member, type) or member is allocbench.benchmark.Benchmark or not issubclass(member, allocbench.benchmark.Benchmark)): continue |
