fluentpython / example-code

Example code for the book Fluent Python, 1st Edition (O'Reilly, 2015)
http://bit.ly/fluentpy
MIT License
5.56k stars 2.18k forks source link

11-iface-abc/tombola_runner.py fixture 'cls' not found #41

Open anancds opened 4 years ago

anancds commented 4 years ago

my python version is 3.7.6, when I try running tombola_runner.py, it reports to me that: fixture 'cls' not found

the error log is:

file D:\huawei-code\github\example-code\11-iface-abc\tombola_runner.py, line 23
  def test(cls, verbose=False):
E       fixture 'cls' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.