allow fixture_type to be null in fixture API

wedged in a second pep8 commit; only first commit changes anything